Check whether the current version is valid
| <viz>.requireVersion( | |
| ver | |
| mode = '<=' |
)
ver
A standard Vizard version string
mode = '<='
Can be one of the following string values:
Version modes |
|
'<=' |
Requires the version to be less than or equal to the current version. |
'<' |
Requires the version to be less than the current version. |
'=' |
Requires the version to be equal to the current version. |
'>=' |
Requires the version to be greater than or equal to the current version. |
'>' |
Requires the version to be greater than the current version. |
This command is used to check whether the current version of Vizard is valid compared to a reference version. If the current version is not valid, a popup message will be displayed to the user and the script will exit.
None