home *** CD-ROM | disk | FTP | other *** search
- ' This program demonstrates how the PreProcessor program handles
- ' conditional compiling.
-
- ' Since we tell the program that the client is SEARS, only the second
- ' PRINT statement is compiled.
-
- ' Take a look at the file PPDEMO.$$$. After the PreProcessor program
- ' has anyalyzed this file, it has the compiler process PPDEMO.$$$. Note
- ' that only the PRINT statement associated with SEARS is sent to the
- ' compiler.
-
- '#Client$=SEARS
- '#IF Client$ = IBM
- PRINT "Client: IBM"
- '#ELSEIF Client$ = SEARS
- PRINT "Client: Sears"
- '#END IF