error

error — error messages

Calling sequence

error('string' [,n])  
error(m)  

Description

prints the character string 'string' in an error message and stops the current instruction.

If n is given, it is associated to the number of the error. n should be larger than 10000 (default value).

error(m) prints the message associated with the error number m.

See also

warning