prompt
Get/Set current prompt
Syntax
currentprompt = prompt() [currentprompt,pauselevel] = prompt() prompt(userprompt)
Arguments
- currentprompt
a string: current prompt returned as a character string.
- pauselevel
an integer: current pause level.
- userprompt
a string: prompt to display for next user input. Then current prompt will be used again.
Description
currentprompt = prompt()
gets the current
prompt.
prompt(userprompt)
sets the prompt.
Examples
See also
Report an issue | ||
<< %onprompt | Console | tohome >> |