Error: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
(No difference)

Revision as of 18:08, 28 January 2009

Usage: print text [level=minimal|normal|full|debug]

      error text

The statements "print" and "error" write the message text to the output. "error" also invokes the error handler (as set with the variable "erract") and is thus useful to print error messages from within a macro. In the "print" statement the "level" option can be used to determine whether the message is written or not, depending on the value of the system variable "info".

See also