I added this to the end of macros1.asm, but it still isn't compiling correctly.

Thanks.

; inkey macro 
  ;; ------------------------------------------------------
    ;; display user defined text, default text or none if
    ;; NULL is specified and wait for a keystroke to continue
    ;; ------------------------------------------------------
    inkey MACRO user_text:VARARG
      IFDIF <user_text>,<NULL>                  ;; if user text not "NULL"
        IFNB <user_text>                        ;; if user text not blank
          print user_text                      ;; print user defined text
        ELSE                                    ;; else
          print "Press any key to continue ..." ;; print default text
        ENDIF
      ENDIF
      call wait_key
      print chr$(13,10)
    ENDM

Posted on 2006-02-28 16:33:26 by skywalker
Andy,

You are probably safer to work with masm32 beta version 9.00 as it has all of the files to make the macro work.
Posted on 2006-02-28 20:49:32 by hutch--

Hutch

how to download masm32 9 beta?

Posted on 2006-03-02 23:20:55 by korte
Easy,

http://www.website.masmforum.com/masm32/m32beta9.zip
Posted on 2006-03-04 05:31:21 by hutch--