News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

check parameter value

Started by korte, January 13, 2009, 06:21:24 PM

Previous topic - Next topic

korte


GROUPDEF MACRO p1,args:VARARG
   FOR p,<args>
      org   gtable+p
      if p1 < 256                    <------------ error this line
         db   p1
      endif
   ENDM
   org   gtable2
ENDM

how to check arg maximum value?

MichaelW

eschew obfuscation

korte

Work!
thx!

MichaelW For President!