DOCERR: procedure Pprog(); Should Be procedure Pprog; (30363)



The information in this article applies to:

  • Microsoft Macro Assembler (MASM) 5.0
  • Microsoft Macro Assembler (MASM) 5.1

This article was previously published under Q30363

SUMMARY

There are two errors in the Pascal program on Page 64 of the Microsoft Macro Assembler version 5.0 and 5.1 "Mixed-Language Programming Guide." The line containing the following statement:
   procedure Pprog();
				
should be changed to read as follows (i.e., remove the parentheses):
   procedure Pprog;
				
In addition, the above line should be moved so that it is directly above the following line:
   var a,b:integer;
				
If this line is not moved, the program will generate errors when it is compiled.

Modification Type:MajorLast Reviewed:10/20/2003
Keywords:KB30363