Microsoft KB Archive/72705

From BetaArchive Wiki
Knowledge Base


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

Article ID: 72705

Article Last Modified on 10/29/2003



APPLIES TO

  • Microsoft Macro Assembler 6.0 Standard Edition
  • Microsoft Macro Assembler 6.0a
  • Microsoft Macro Assembler 6.0b



This article was previously published under Q72705

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: KB72705