6. Embedded QUEL for BASIC : Precompiling, Compiling, and Linking an EQUEL Program : Coding Requirements for Writing EQUEL Programs : Embedding Statements Inside BASIC If Blocks
 
Share this page                  
Embedding Statements Inside BASIC If Blocks
The preprocessor never generates line numbers as its own. Therefore, you can enclose EQUEL statements in the then or else clauses of a BASIC if statement without changing program control.
For example:
     if (error = 1%) then
##          message "Error on update"
##          sleep 2
     endif