ERROR
macro takes one argument: text to display to the standard error
stream. The current input file and line number are also displayed. After
displaying the text, the yodl
program aborts with an exit status of 1.
This command can be used, e.g., in a macro package when an incorrect macro is
expanded. In my macro package (see chapter ??) the ERROR
macro is used when the sectioning command chapter()
is used in an
article
document (in the package, chapter
's are only available in
book
s or report
s).
An analogous builtin macro is WARNING
, which also prints a message but
does not exit (see section ??).
Please send Yodl questions and comments to yodl@icce.rug.nl.
Please send comments on these web pages to
(address unknown),
send other FSF & GNU inquiries and questions to
Copyright (c) 1998 Karel Kubat and Jan Nieuwenhuizen
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.