__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 0.21, for example, the minor version number is 21.

Example

Dim fbMajorVersion As Integer
Dim fbMinorVersion As Integer

fbMajorVersion = __FB_VER_MAJOR__
fbMinorVersion = __FB_VER_MINOR__

Print "Welcome to freebasic ";fbMajorVersion;".";fbMinorVersion


Differences from QB

  • New to FreeBASIC

See also