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
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
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.
You are probably safer to work with masm32 beta version 9.00 as it has all of the files to make the macro work.
Hutch
how to download masm32 9 beta?
Easy,
http://www.website.masmforum.com/masm32/m32beta9.zip
http://www.website.masmforum.com/masm32/m32beta9.zip