Help Center
Help CenterFreeBASIC

__FB_OPTION_EXPLICIT__keyword

Intrinsic define (macro value) set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_OPTION_EXPLICIT__

Description


__FB_OPTION_EXPLICIT__ indicates if Option Explicit has been used previously in the source.

Returns zero (0) if the option has not been set. Returns non-zero (-1) if the option has been set.

Remarks

Differences from QB


  • New to FreeBASIC

See also


Example


#if( __FB_OPTION_EXPLICIT__ = 0 )

  #error Option Explicit must used With This module

#endif



Reference

  • Documented in KeyPgDdfboptionexplicit.html