Version

(Engine-Level Function)

Description: Returns the version number of the copy of VTScada currently running.
Returns: Text
Usage: Script or Steady State
Function Groups: Software and Hardware
Related to: SerialNum | VersionRequired | GetRemoteVersion
Format: Version([MiniDumpHandle, InfoType])
Parameters:  
MiniDumpHandle
For advanced use only. If provided, will return information about the version number or bit-width of a mini dump file. Data is stored in a MiniDumpHandle (value type: 42)

It is recommended that you simply use INVALID as a placeholder for this parameter when the second parameter is required.
InfoType
If 0 or omitted, Version simply returns the VTScada version number.
If 1, will return 32 for 32-bit VTScada or 64 for 64-bit VTScada, instead of the version number.
Comments: This function can be used to perform various tasks based on the version number of VTScada.

Example:

ZText(10, 10, Concat("VTScada version ", Version()), 0, 0);

This displays the version number of VTScada.