The 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 books or reports). An analogous builtin macro is WARNING, which also prints a message but does not exit (see section ??).
Go back to index of Yodl.

Please send Yodl questions and comments to yodl@icce.rug.nl.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from Yodl-1.31.18 by

<(address unknown)>, Thu Jun 19 13:45:22 2008 EDT.