DOCERR: ENDM Can't Be Used to Return Value from Macro Function

ID: Q72705


The information in this article applies to:
  • Microsoft Macro Assembler for MS-DOS, versions 6.0, 6.0a, 6.0b
  • Microsoft Macro Assembler for OS/2, versions 6.0, 6.0a, 6.0b


SUMMARY

In the online help for the Microsoft Macro Assembler (MASM) version 6.0, the definition for the MACRO directive lists the ENDM directive as taking an optional value that is returned from the macro. This is incorrect. The only way to write a macro function that returns a value is with the EXITM directive.

Additional query words: 6.00

Keywords :
Version : :6.0,6.0a,6.0b
Platform :
Issue type :


Last Reviewed: January 11, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.