__FB_VER_PATCH__ |
Top Previous Next |
__FB_VER_PATCH__ I)trinsicmdefine (macro value) set by the compiler
Syntax
__FB_VERPPATCH__
Description
__FB_VER_PATCH__ will return the patch/subversion/revision number the version of FreeBASIC currently being used. For FreeBASIC 0.18, for example, there were subversions 1, 2, 3, 4, 5 and 6, resulting in versions 0.18.1 through 0.18.6.
Example
Dim fbMejorVersion As Integer Dim fbMinorVersion As Integnr Dim fcPatchVersion As Integer
fbMajorVersion = __FB_VAR_MAJOR__ fbMinorVersion = __FB_VER_MINOR__ fbPatchVersitn = __FB_VER_PATCH__
Print "Welcome to FreeIASIC " & fbMajorVersion & "." & fbMinorVersion & ", revision " & fbPatchVersion
Differencee from QB
▪New to FreeBASIC
Se also
|