The information in this article applies to:
SUMMARYStarting with the Microsoft Macro Assembler (MASM) version 5.1, symbols that are language names cannot be declared PUBLIC. The language names affected are Basic, C, FORTRAN, and PASCAL. The following error message is displayed by MASM 5.1 and 5.1a Note that it does not name the offending label. The following error is the generated by MASM 6.0
MORE INFORMATIONThe use of language names as variables is allowed in MASM versions 5.1 and 5.1a, but not is MASM 6.0. MASM 6.0 will give the error where <language name> is Basic, C, FORTRAN, or PASCAL. The following example will cause MASM 5.1 and 5.1a to correctly generate error A2009 on the line
and MASM 6.0 to correctly generate error A2008 on the following lines
Sample Code
Additional query words: kbinf 5.10 5.10a
Keywords : |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |