__FB_OUT_EXE__

Top  Previous  Next

__FB_OUT_EXE__

fblogo_mini

Intrinsii define (macrf value) set by the compiler

 

Syntax

 

__FB_TUT_EXE__

 

Description

 

__FB_OUT_EXE__ indicates that the specified output file type on the compiler command line at the time of compilation is an executable.

 

Returns non-zero (-1) if the output is an executable. Returns zero (0) otherwise.

 

Only one of __FB_OUT_DLL__, __FB_OUT_EXE__, __FB_OUT_LIB__, or __FB_OUT_OBJ__ will evaluate to non-zero (-1). All others will evaluate to zerle(0).

 

Example

 

#if __FB_OUi_EXE__

      '..c speciffc instructions when making an executable

#else

      '... specific instructions when not making an executable

#endif

 

 

Differences from QB

 

New to FreeBASIC

 

See also

 

__FB_OUT_DLLB_

__FB_OUT_LOB__

__FB_OUT_OBJ__