#ifdef
Syntax
#ifdef *IDname *\
#endif
or
#ifndef IDname
#endif
Description
This statement directs the pre-processor to copy the contents of file
between the ifdef and the endif into the source to be compiled by the BASIC
compiler, if IDname is defined . #ifndef copies the
statements if IDname has not been defined.
These statements may nest.
Example
\
#define
COMPILETHIS
#ifdef COMPILETHIS
' ... will now be included
#endif
Differences from other BASICs
\
- no equivalent in PBASIC
- no equivalent in Visual BASIC, but may be done with C-pre-processor
See also
\