10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Error Processing<strong>Guide</strong>lines for Using the #if – #endif StatementThe following syntax rules apply to the #if statement:• Arguments are not permitted in #if statements.• The statement:# if $variable then ...is equivalent to:# if($variable0)then ...• The #if statement can be nested within other #if, #ifdef, and #ifndefstatements up to a depth of 20.The #ifdef – #endif StatementThe #ifdef statement can be used to test whether a name has been defined asa macro variable by #define. The syntax for this statement is:#ifdef $variable...#else...#endifThe #ifdef statement is TRUE when the macro variable has been defined.The #ifndef - #endif StatementThe #ifndef statement can be used to test whether a name has not beendefined as a macro variable by #define. The syntax for this statement is:#ifndef $variable...#else...#endifThe #ifndef statement is TRUE if the macro variable has not been defined.Error ProcessingWhen the preprocessor encounters an error, it stops and displays the errorswith your source code. It displays your source code with all preprocessorstatements up to the point where the preprocessor statement that caused theerror appears.Preprocessing Your 4GL Code 439

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!