The information in this article applies to:
SYMPTOMSWhen initializing a structure in the Microsoft Macro Assembler (MASM), if the initializers are written on separate lines, one or more of the following errors may occur:
RESOLUTIONTo work around this problem, either use the backslash (\) line continuation character following a comma, or with MASM 6.0 and later use curly braces in place of the angle brackets. Curly braces are a legal substitute syntax for angle brackets. The sample code below illustrates the problem syntax and the workaround. STATUSMicrosoft has confirmed this to be a problem in MASM versions 5.1, 5.1a, 6.0, 6.0a, 6.0b, 6.1, 6.1a, and 6.11. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONPage 127 of the "Microsoft Macro Assembler Programmer's Guide" from MASM 6.0 states: The list of initializers can be broken only after a comma unless you use a line continuation character (\) at the end of the line.The following sasmple code can be used to demonstrate the problem. Sample Code
Additional query words: 5.10 5.10a 6.00 6.00a 6.00b 6.10 6.10a buglist6.00a buglist6.00b buglist6.10 buglist6.10a buglist6.11
Keywords : |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |