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
-
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:
in which:
-
11 is
the major version number.
-
2 is the minor version number.
-
0 is the service pack number.
-
0 is the hot fix version number.
-
1234 is the build number.
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:
If you specify 1 as the mode value for an OpenEdge BETA release, for
example, the following details appear: