%VERSN

Return the Synergy DBL version number and operating system

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
version = %VERSN

or

xcall VERSN(version)

Return value

version

%VERSN returns the operating system and current version number of the Synergy runtime in one of the following formats:

where v is the major version number, r is the major revision number, and m is the minor revision number. (a)

Discussion

%VERSN returns a textual string that identifies the Synergy DBL environment in which the program is running.

Version is stored left‑justified over blanks. Each r and m component can only be a single digit.

Examples

The following example displays the operating system and Synergy DBL runtime version on which the program is running.

.define TTCHN   ,1
record
    ident       ,a50
proc
    open(TTCHN, o, "tt:")
    ident = %versn
    writes(TTCHN, "Synergy system is: " + %atrim(ident))
    stop
end