func strinput [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
func strinput
Prompts on the input device for user input and returns the user input
line as a string.
Syntax
strinput (prompt)
Formal Declaration
strinput:str (prompt:str)
Parameters
prompt The prompt string to be displayed.
Examples
$nmdebug > wl strinput("input a number>")
input a number > 1234
1234
Prompt the user for a number and write it back.
$nmdebug > var n bin(strinput("input a number>"))
input a number > 1+3
Prompt the user for a number, convert the input string to a number, and
assign it to the variable named n.
Limitations, Restrictions
If STRINPUT is issued in a job (for example, through the HPDEBUG
intrinsic command string), an error is displayed, and Debug returns to
the caller.
MPE/iX 5.0 Documentation