CHAR
takes one argument, a number or a character, and outputs
its corresponding ASCII character to the final output file. This command is
built for `emergency situations', where you need to typeset a character
despite the fact that it may be redefined in the current character table (for
a discussion of character tables, see ??). Also, the CHAR
macro can be used to circumvent Yodl's way of matching parentheses in a
parameter list.
When you're sure that you want to send a printable character that is not a
closing parenthesis to the output file, you can use the form
CHAR(c)
, c
being the character (as in, CHAR(")
). To
send a non-printable character or a closing parenthesis to the output file,
look up the ASCII number of the character, and supply that number as argument
to the CHAR
command.
Example: The following two statements send an A
to the output file.
CHAR(65) CHAR(A)
The following statement sends a closing parenthesis:
CHAR(41)
Another way to send a string to the output file without expansion by character
tables or by macro interpretation, is by using the macro NOTRANS
(see
section ??). If you want to send a string to the output without
macro interpretation, but with character table translation, use
NOEXPAND
(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.