The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: korte on June 05, 2009, 07:02:16 PM

Title: fatal error dosxnt as macro call
Post by: korte on June 05, 2009, 07:02:16 PM


uses macro args:VARARG

   FOR var,<args>
       arg equ <>
       arg CATSTR arg,<include var.inc>
       arg
   ENDM
endm

    uses dos,vesa



DOSXNT fatal error?

Bad macro or DOSXNT
(masm 6.11)

Title: Re: fatal error dosxnt as macro call
Post by: qWord on June 06, 2009, 10:34:51 PM
hi,

incl macro args:VARARG
   FOR var,<args>
include &var&.inc
   ENDM
endm
------------
example:
incl kernel32,user32


regards, qWord
Title: Re: fatal error dosxnt as macro call
Post by: MichaelW on June 07, 2009, 12:38:02 AM
'uses' is a reserved word