7. Preprocessing Your 4GL Code : Preprocessor : The #if - #endif Statement : Guidelines for Using the #if – #endif Statement
 
Share this page                  
Guidelines for Using the #if – #endif Statement
The following syntax rules apply to the #if statement:
Arguments are not permitted in #if statements.
The statement:
# if $variable then ...
is equivalent to:
# if($variable<>0)then ...
The #if statement can be nested within other #if, #ifdef, and #ifndef statements up to a depth of 20.