BCX Console Demonstration Program s121.bas

 '*************************************************************************** 
 ' Conditional compilation using:  $IF/$ELSE/$ELSEIF/$ENDIF metastatements 
 '*************************************************************************** 
 '  By un-commenting one of the following CONST statements, the resulting 
 '  executable code changes as well.  Only the code that is associated 
 '  with the true condition is compiled, the rest is disregarded. 
 '*************************************************************************** 
 'CONST ENGLISH 
 CONST SPANISH
 'CONST GERMAN 
 
 $IF ENGLISH
   ?  "Good Day"
   ?  "What's happening?"
 $ELSEIF SPANISH
   ?  "Buenas Dias"
   ?  "Como va?"
 $ELSEIF GERMAN
   ?  "Guten Tag"
   ?  "Was ist los?"
 $ELSE
   ?  "Greetings Earthling"
   ?  "Where is the cafeteria?"
 $ENDIF