stdout
stdout
TEXT

The stdout statement sends one or more characters to standard output.

Parameters

This statement has one parameter:

text – characters to send to standard output.

Description

The stdout statement sends one or more characters to standard output. You can view these messages by running Panorama from the Terminal application. Unlike the nslog statement, the text you supply is sent “as-is”, with no automatic time/date stamp and no line break. The output will not actually appear until a line feed character is sent, so usually you’ll want to include a line feed on the end of the formula, like this.

    stdout "hello world"+lf()

However, you can also output multiple items to the same line with separate statements, as shown below. This could be useful if outputting text during a loop.

    stdout "hello"
    stdout " world"
    stdout lf()

No output will appear until the final statement sending the line feed is executed.

See Also

- console -- sends a message to the console log.
- debug -- stops the current program, allowing you to examine variables or single step.
- nslog -- sends a message to the console log.
- onerror -- can be used to catch all errors that are not trapped by if error or try statements.
- onfailedresume -- is used to setup a semi-graceful recovery if a resume statement fails because there was no pause statement.

History

Version | Status | Notes
10.2 | New | New in this version.