|
|
Prompts on the input device for user input and returns the
user input line as a string.
strinput (prompt)
strinput:str (prompt:str)
- prompt
The prompt string to be displayed.
$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.
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.
|