Skip to content

Fb Ver Minor

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › FB_VER_MINOR

FB_VER_MINOR

Intrinsic define (macro value) set by the compiler

Syntax

__FB_VER_MINOR__

Description

__FB_VER_MINOR__ will return the minor version of FreeBASIC currently being used. For FreeBASIC version 0.90.1, for example, the minor version number is 90.

Remarks

Differences from QB

  • New to FreeBASIC

See also

Examples

Dim fbMajorVersion As Integer

Dim fbMinorVersion As Integer

Dim fbPatchVersion As Integer

fbMajorVersion = __FB_VER_MAJOR__

fbMinorVersion = __FB_VER_MINOR__

fbPatchVersion = __FB_VER_PATCH__

Print "Welcome to FreeBASIC " & fbMajorVersion & "." & fbMinorVersion & "." & fbPatchVersion

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