#ELSEIFNDEF


Preprocessor conditional directive

Syntax:
#ifdef A
' Conditionally included statements if A is defined
#elseifndef B
' Conditionally included statements if both A and B are not defined
#else
' Conditionally included statements if A is not defined and B is defined
#endif

Description:
#elseifndef can be added to an #if block to provide an additional condition.

#elseifndef symbol is equivalent to #elseif Not defined(symbol)

Examples:
#IFDEF A
    Print "A is defined"
#ELSEIFNDEF B
    Print "both A and B are not defined"
#ELSE
    Print "A is not defined and B is defined"
#ENDIF

Version:
Differences from QB:
See also:

Back to Preprocessor
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode