INCLAN: error

From CYANA Wiki
Revision as of 16:29, 12 August 2009 by Admin (talk | contribs) (Created page with '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 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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