next up previous contents
Next: Expression Evaluation Up: Programming Tools and Functions Previous: Check Assignment

Error Messages

Calling Sequence:
error(msg)
Parameters:
msg : string

Returns: void

Synopsis: This function returns to the top level of execution and issues the error message msg.

Examples:

> x := proc(z)
>  if (z = 0) then error('Attempt to divide by 0');
>  else return(5 / z); fi;
> end;




Gaston Gonnet
1998-09-15