console
console
MESSAGE

The console statement sends a message to the console log.

Parameters

This statement has one parameter:

message – message to send to console log.

Description

This statement sends a message to the console log.

    console "hello"

You can view the output of this function using Apple’s Console application, which you can find in the `/Applications/Utilities` folder.

See Also

- 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.
- stdout -- sends one or more characters to standard output.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.