Skip to main content
Skip table of contents

prompt

Usage

>> prompt [ state ]

Security

Open.

Description

Returns the state of the "Ready: " prompt, which is normally sent by the logger in response to almost any command after any other output generated by the command is complete.

  • state [= <state>]

    • on, the prompt is sent

    • off, the prompt is suppressed.

A change of the on/off state takes place immediately, so for example there will be no prompt following the command which turns it off. Turning the prompt off is not normally recommended, unless there is a very good reason for doing so.

For example, if it is interfering with the parsing of responses by an automated system, it may be necessary to suppress it.

Examples

CODE
>> prompt
<< prompt state = on
CODE
>> prompt state = off
<< prompt state = off

Errors

Error E0108 invalid argument to command: '<invalid-argument>' 
An unrecognized argument was given.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.