Skip to content

Fb Version

Paul Squires edited this page Nov 9, 2026 · 2 revisions

Home › Intrinsic Defines › FB_VERSION

FB_VERSION

Intrinsic define (macro string) set by the compiler

Syntax

__FB_VERSION__

Description

Substituted by the version number of the compiler where used.

Remarks

Differences from QB

  • Did not exist in QB

See also

Examples

#if __FB_VERSION__ < "0.18"

#error  Please compile With FB version 0.18 Or above

#endif

This will stop the compilation if the compiler version is below 0.18


Category: Intrinsic Defines
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally