Skip to content

FB_OPTION_EXPLICIT


Intrinsic define (macro value) set by the compiler

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.

Examples

start GeSHi

vb
#if( __FB_OPTION_EXPLICIT__ = 0 )
  #error Option Explicit must used With This module
#endif

end GeSHi

Differences from QB

  • New to FreeBASIC

See also

  • Dim
  • Option Explicit

Back to DocToc

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