The information in this article applies to:
SUMMARYMASM returns an A2041 error (String or Text literal too long) when passing to a MACRO a set of parameters whose total length is greater than 255 bytes. The inidvidual parameters may be shorter than the stated 255 byte maximum, but the MACRO expansion treats the entire parameter list as a single string (text literal). MORE INFORMATIONThis behavior is by design, though it is not currently documented as such. The following code demonstrates this behavior:
This is the message MASM returns upon compiling this sample:
Additional query words: 6.11
Keywords : |
Last Reviewed: January 6, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |