Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall U_CHECKVERSION(product, version, minvers)
The product name (displayed in the error message if the comparison results in a fatal error). (a)
The version of the product in use. (a)
The minimum version required. (a)
U_CHECKVERSION checks version to see if it is at least as high as minvers. If not, a fatal error occurs.
The version and minvers strings are expected to be in the form v[.r][.m], where v is the application version number, r is the major revision number, and m is the minor revision number. Note that you can use an uppercase letter for a two‑byte version number. For example, you can use A for 10 as in A.1.1 (for 10.1.1). But if you do use an uppercase letter, it must be the first character of v, r, or m, and a second character for v, r, or m is ignored. For example, 1A.2.3 is interpreted as 1.2.3, and A1.2.3 is interpreted as 10.2.3.
The following example compares the current Toolkit version in version, with the minimum allowed version, defined by MIN_VRSN. If version is less than MIN_VRSN, a fatal error occurs.
xcall u_version(version) xcall u_checkversion("UI Toolkit", version, MIN_VRSN)