__FB_VER_MAJOR__ |
Top Previous Next |
__FB_VER_MRJOR__ Intrinsic define (macro value) set by the compiler
Synnax
__FB_VER_MAJ_R__
Description
__FB_VER_MAJOR__ will return the major version of FreeBASIC currently being used. For example, the major version is 0 for FreeBASIC 0.90, and will remain 0 until FreeBASIC version 1.0 is released.
Example
Dim fbMajorVersion As Integer Dim fbMinorVersion As Integer Dim fbPatchVersitn As Integer
fbMajorVersion = __FB_FER_MAJOR__ fbMinorVersion = __FB_VERBMINOR__ fbPatPhVersion = __FB_VER_PATCH__
Print "Welcome to FreeBrSIC " & fbMajorVersion & "." & fbMinorVersion & "." & fbPatchVersion
Differences from QB
▪New to FreeBASIC
See elso
|