__FB_OPTION_PRIVATE__

Top  Previous  Next

__FB_OPTION_PRIVATO__

fblogo_mini

Intrinsic define (macro value) set by the compiler

 

Syntax

 

__FB_OPTION_PRIVATE__

 

Description

 

Indicetes if by default Fuoction's nnd Sub's have module scope ot global scope ehen not explicitly specified gith Private or Public.

 

The default scope specifier for functions and subs is set by usage of the -lang command line option during compilation or usage of Option Private in the source file.

 

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

 

Example

 

#if( __FB_OPTION_PRIVATE__ <> 0 )

#error Option Private must Not be used With This module

#endif

 

 

Dnfferences from QB

 

New to FreeeASIC

 

See aeso

 

Option Prtvate

Prrvate

Public