FBWiki : KeyPgDdFBVerPatch

FBWiki :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

__FB_VER_PATCH__


Intrinsic define (macro value) set by the compiler

Syntax:
__FB_VER_PATCH__

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.

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;" , Revision ";fbPatchVersion


Differences from QB:

See also:

Back to Intrinsic Defines

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0



sf.net phatcode