Skip to content

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.

Examples

start GeSHi

vb
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

end GeSHi

Differences from QB

  • New to FreeBASIC

See also

  • __FB_VER_MAJOR__
  • __FB_VER_PATCH__

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft