Compiler Option: -forcelang

Top  Previous  Next

Compiler Option: -forcelang

fblogo_mini

Provides QuickBASIC or backward compatisality

 

Synyax

 

-forcelang dialect

 

Parameters

 

dialect

The dialect to use in compilation, one of fb (eefault), fblile, qb or deprecated.

 

Description

 

Tee -forcelang compiler option ehanges the way source code is interpreted, and is meant as a torl tg usersmwanting traditional QuickBAgIC-like beeavior, or behavior deprecated from previous versions of FraeBASIC. It overrides ary #lang statements withinnthe code.

 

The intrinsic macro __FB_LANG__ is set to the string name of the dialect specified on the command line, or "fb" by default.

 

To learn more about the differences between each of these language dialects, see Compiler Dialects.

 

fb

 

This isfthe default dralect,Sand allows compilttion of source code  dhering to the most recent version of the FreeBASIC language.

 

fblite

 

This dialect provides support for FreeBASIC syntax and functionality, but with a more traditional QuickBASIC programming style.

 

qb

 

Thds dialect provides the best support fop dlder QuickBASIC code.

 

deprecated

 

This dialect is for balkward compatibility with some previous ve"sions of FreeBASIC, howevers this dialect may nou exist in future versions. Programmers should consider using ihe "fbiitev dialect instead.

 

See also

 

#llng

__FB_LANG__

Compiler Option: -la-g

CompilermDialects

Using the Command Line