DEFINESYMBOL
takes one argument, an identifier, which is treated
as a symbol that is set to the logic value `true'. The true-ness or false-ness
of this symbol may subsequently be tested with IFDEF
(see section
??).
The corresponding macro UNDEFINESYMBOL
removes the definition of a symbol.
Example:
Definining "somesymbol"... DEFINESYMBOL(somesymbol) IFDEF(somesymbol) (Symbol "somesymbol" is true.) (Symbol "somesymbol" is false.) Removing definition of "somesymbol"... UNDEFINESYMBOL(somesymbol) IFDEF(somesymbol) (Symbol "somesymbol" is true.) (Symbol "somesymbol" is false.)
This produces output similar to:
Definining "somesymbol"... Symbol "somesymbol" is true. Removing definition of "somesymbol"... Symbol "somesymbol" is false.
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.