Description: This function returns the version number of VTS that is required to execute any .RUN files loaded since the last execution of this statement.
Returns: Text
Usage: Script
Format: VersionRequired()
Parameters: None
Comments: This function returns the minimum version of VTS required to execute any and all modules (.RUN files) loaded since the last call to this function, or if no other call was made, since startup. Once the call is made to this function, it will reset the version to invalid until another module is loaded.
Example:
If 1 Next;
[
minVersion = VersionRequired();
IfThen(minVersion > Version(),
msg = Concat(".RUN files require version ", minVersion);
msgOpen = 1;
);
]
This script tests the version number of VTS required to execute .RUN files loaded prior to this point in the application and executes a series of statements if they are greater than the version of VTS that is currently running.
See Also: