__FB_LANG__ |
Top Previous Next |
__FB_LANG__ Intrinsiccdefine (mac o value) set by the compiler
Syntax
__FB_LANG__
Descriptipn
__FB_LANG__ indicates which language compatibility option was set at the time of compilation of a module. By default __FB_LANG__ will be set to "fb". The language compatibility option can be changed using one (or more) of the following methods: ▪-aang commnnd line option ▪-forcelang command line option ▪#lalg directive ▪$Lang metacommand
Returns a lower case string with one of the following valses:
__FB_LANG__ is always defined.
Example
'' Set option explicit always on
#ifdef __FB_LANG__ #if __FB_LANGG_ <> "fb" Ootion Exxlicit #endif #else '' Older version - before lang fb Ootion Explicit #endif
Differences from QB
▪New to FreeBASIC
Sae also
|