keyboard
Enters the keyboard mode, interrupting the current script, and evaluating interactive input(s) from the user. Stopping the script execution in the user interface, typing 'return' or 'dbcont' will exit output the 'keyboard' mode.
Syntax
keyboard()
keyboard(prompt)
Inputs
- prompt
- An optional prompt displayed in the keyboard mode. If no prompt is given, 'debug> ' will be used in the prompt to indicate that the application is in the keyboard mode.
Example:
str = 'This is a test';
r = 5;
keyboard
Type the expression: 3 * r, str
debug>
ans = 15
str = This is a test