Print, error

From CYANA Wiki
Revision as of 19:18, 28 January 2009 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

error

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