This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Tells the pre-parser to check thinBasic version against a passed minimal version needed by the script to be executed.
Syntax
#MINVERSION Major[.Minor[.Build[.Revision]]]
Returns
None. It produces a run-time error in case of version not correct.
Parameters
Remarks
Use this directive in order not to allow script to be executed in not compatible thinBasic versions.
For example, if your script uses one or more keywords present only starting from a specific thinBasic version, add this statement somewhere in your code.
At least Major should be specified in order to correctly check version.
Restrictions
This directive is a pre parsing directive. It means all #MINVERSION statements will be solved before starting script execution.
See also
Examples
'---All version starting from 1.0.10.2 will work
#MINVERSION 1.0.10.2
'---All version starting from 1.0.9.x will work
#MINVERSION 1.0.9