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

Last reviewed: November 3, 1994
Article ID: Q30363
The information in this article applies to:
  • Microsoft Macro Assembler for MS-DOS, versions 5.0 and 5.1

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.


Additional reference words: 5.0a 5.00 5.00a 5.1a 5.10 5.10a
KBCategory: kbprg kbdocerr
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 3, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.