ccastdf@prism.gatech.EDU (Dave) (02/28/91)
I want to use the GETLABEL and GETNUMBER macro commands to issue a variable prompt and perform input. The example below is a macro subroutine INPSUB for input, which uses the contents of PROMPT as a prompt string, and returns the user input in CURINPUT. Defined Ranges -------------PROMPT CURINPUT NAME ADDR Macro Steps ----------- : {let PROMPT,"Enter your name: "} {INPSUB} {let NAME,CURINPUT} {let PROMPT,"Enter your address: "} {INPSUB} {let ADDR,CURINPUT} : {INPSUB} {getlabel PROMPT,CURINPUT} return This seems to work in V2.2, but not V2.01. Should this work in V2.01? Am I doing something wrong? Is there some otheacro what v1-2-3 is running? Please reply by e-mail or post.. Dave -- David Frascone ccastdf@prism.gatech.edu Georgia Institute of Technology, Atlanta Georgia, 30332 Office of Information Technology--User Assistant