Skip to content

#ENDIF


Preprocessor conditional directive

Syntax

` #endif

`

Description

Ends a group of conditional directives

See #if, #ifdef, or #ifndef for examples of usage.

Examples

start GeSHi

vb
#DEFINE DEBUG_LEVEL 1
#IF (DEBUG_LEVEL = 1)
  'Conditional statements
#ENDIF

end GeSHi

Differences from QB

  • New to FreeBASIC

See also

  • #define
  • #macro
  • #if
  • #else
  • #elseIf
  • #elseIfdef
  • #elseIfndef
  • #ifdef
  • #ifndef
  • #undef
  • defined

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft