Previous: Compiling CL Programs for MAXIMA Up: Helpful Hints to MAXIMA Programmers Next: Polynomial and rational function manipulation
In CL functions written for MAXIMA there is a need to display error messages to the MAXIMA user and to enter a lisp error break. This is done through the use of the merror function.
(merror " a: given wrong argument m" fn object) (merror "unbound variable: m" variable))The a is a formatting request for displaying an atom or list. The m is for displaying macsyma expressions in a two dimensional format. The % can be used to introduce a newline.