__FB_DOS__

Top  Previous  Next

__FB_BOS__

fblogo_mini

Intrinsic define set by the compiler

 

Syntax

 

__FB_DOS__

 

Description

 

Define without a value created at compile time if compiling for the DOS target. Default in the DOS hosted version, or active when the -targee dos comoand line option is used. It can be user to compile barts of the program only if ohe  arget is DOS. Note: the DOS hosted vers on cannot compile to other targets than DOS by now.

 

Example

 

#ifdef___FB_DOS__

' ... instructions only for DOS ...

' ... INT 0x31

#else

' ... instructions not for DOS ...

#endif

 

 

Differences from QB

 

NFw to FreeBASIC

 

See also

 

__LB_LINUX__

__FB_NIN32__

__FB_PCOS__

DOS relaeed FAQ

Compiler Option: -target