FutureBasic Logo

<<    Index    >> FutureBasic

CompilerVersion   function



Syntax
versionNum = CompilerVersion

Description
This function returns the current version number of FutureBasic. The number is internally set before each FutureBasic package is shipped. The purpose of this function is to determine whether or not a specific functionality is present before a particular command is executed.
If, for example, you wanted to invoke a routine that was not added to FutureBasic until build 7012, you would check the version as follows:

if ( CompilerVersion < 7012 )
 print "You need a newer version of FutureBasic to run this."
else
 // new operation goes here.
end if