Help Center
Help CenterFreeBASIC

#endifkeyword

Preprocessor conditional directive

Preprocessorkeyworddocumented

Syntax

#endif

Description


Ends a group of conditional directives

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

Remarks

Differences from QB


  • New to FreeBASIC

See also


Example


#define DEBUG_LEVEL 1

#if (DEBUG_LEVEL = 1)

  'Conditional statements

#endif



Reference

  • Documented in KeyPgPpendif.html