Name
prompt — Get/Set current prompt
Calling Sequence
currentprompt = prompt()
[currentprompt,pauselevel] = prompt()
prompt(userprompt)
Parameters
- currentprompt
String: current prompt returned as a character string.
- pauselevel
integer: current pause level.
- userprompt
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.