PROVERSION function

Returns the version of ABL, or release of OpenEdge, you are running. You can also optionally retrieve additional release information, such as the service pack version number and the hot fix version number.

Syntax

PROVERSION [(mode)]
mode
An optional integer expression that identifies how much version information is returned, as follows:
  • If the value of mode is either 0 or not specified, PROVERSION returns limited version information—the major version number, the minor version number, and, if applicable, the version tag.
  • If the value of mode is 1, PROVERSION returns full version information—the major version number, the minor version number, the service pack number, the hot fix version number, the build number, and, if applicable, the version tag.
  • If the value of mode is other than 1 or 0, a run-time error message is returned.

Examples

Following is an example of the information PROVERSION returns when you use 1 as the mode value for an FCS OpenEdge release, which has no version tag:

11.2.0.0.1234

in which:

If you specify 0 as the mode value (or specify no mode value at all) for an OpenEdge BETA release, you see the major version number, the minor version number, and the version tag. For example:

11.2BETA

If you specify 1 as the mode value for an OpenEdge BETA release, for example, the following details appear:

11.2.0.0.1234.BETA

See also

DBVERSION function, PROGRESS function