keyboard

Enters the keyboard mode, which interrupts the current script and evaluation of the interactive user input(s). To exit 'keyboard' mode: stop the script execution in the user interface, press the Esc key, or type 'return' or 'dbcont'.

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.
Type: string

Example:

Evaluate variables defined earlier with a default prompt:

str = 'This is a test';
r = 5;
keyboard

Type the expression: 3 * r, str
debug> 
ans = 15
str = This is a test