#if

Preprocessor conditional directive

Syntax
	#if (expression)
		' Conditionally included statements
	KeyPgPpendif#endif

Description
	Conditionally includes statements at compile time.

	Statements contained within the #if / KeyPgPpendif#endif block are included if 
	expression evaluates to True (non-zero) and excluded (ignored) if 
	expression evaluates to False (0).

	This conditional directive differs from the KeyPgIfthenIf conditional statement in 
	that #if is evaluated at compile-time and KeyPgIfthenIf is evaluated at run-time.

Example
	#define DEBUG_LEVEL 1
	#if (DEBUG_LEVEL >= 2)
	  ' This line is not compiled since the expression is False
	  Print "Starting application"
	#endif

Differences from QB
	* New to FreeBASIC

See also
	* KeyPgPpdefine#define
	* KeyPgPpmacro#macro
	* KeyPgPpelse#else 
	* KeyPgPpelseif#elseif 
	* KeyPgPpelseifdef#elseifdef 
	* KeyPgPpelseifndef#elseifndef 
	* KeyPgPpendif#endif 
	* KeyPgPpifdef#ifdef
	* KeyPgPpifndef#ifndef
	* KeyPgPpundef#undef
	* KeyPgDefineddefined
	* KeyPgPpassert#assert 

