INCLAN: print, error

From CYANA Wiki
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