Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 962c0a1a7c090461b11b26cc6a6b38bf > files > 53

yodl-1.31.18-8mdk.ppc.rpm

<! banner_id >

The macro <code>DEFINESYMBOL</code> 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 <code>IFDEF</code> (see section
??). 

The corresponding macro <code>UNDEFINESYMBOL</code> removes the definition of a symbol.

Example:

<pre>
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.)
</pre>

<p>This produces output similar to:
<p><pre>
Definining "somesymbol"...
Symbol "somesymbol" is true.
Removing definition of "somesymbol"...
Symbol "somesymbol" is false.
</pre>

<!--

if this file ./Documentation/footer.html.in is present, it is included

automatically by add-html-footer, and replaces the simple standard
footer substitutions:

 * index,
 * package name
 * package name
 * ENV:WEBMASTER,
 * ENV:WEBMASTER

-->

<hr>
Go <a href=>back</a> to index of Yodl.

<p>
Please send Yodl questions and comments to 

<a href="mailto:yodl@icce.rug.nl">
<em>yodl@icce.rug.nl</em></a>.
<p>

<!-- package Yodl Yodl -->

Please send comments on these web pages to 
<a href="mailto:(address unknown)"><em>(address unknown)</em></a>



<p>

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

<p>

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

<hr><font size=-1>
This page was built from Yodl-1.31.18 by 
<address><br>Stew Benedict &lt<a href=\"mailto:(address unknown)\">(address unknown)</a>&gt,  Sat Jan 18 18:43:45 2003 EST.</address><p></font></BODY>
</html>