Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions Introduction > Prompt

Prompt

Displays a message in the prompt line (AN=2) on the operator's computer.

Syntax

Prompt(String)

String:

The message to be displayed.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

Message, DspError

Example

/* Display "This is a prompt!" at the prompt AN. */
Prompt("This is a prompt!");

See Also

Miscellaneous Functions