Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions Introduction > Version

Version

Gets the version number of the CitectSCADA software in use.

Syntax

Version(Type)

Type:

The type of version:

0 - Major version number

1 - Minor version number

2 - Revision number

3 - Version text

Return Value

The version number as a string.

Example

! If the CitectSCADA version number is 1.2:
Version(0);
! Returns 1.
Version(1);
! Returns 2.
Version(3);
! Returns "1.2".

See Also

Miscellaneous Functions