PROVERSION function
Returns the version of ABL, or release of OpenEdge, you are running.
Note: The PROVERSION function returns the version or release number as a character string. If you do not convert the returned character values to integer values (and strip off any letters) before sorting multiple return values, the values will not sort as expected. For example, the OpenEdge 10.0 release sorts before the Progress 9.1 version.Syntax
ExampleThe following example displays your current ABL version or OpenEdge release:
Notes
- The PROVERSION function is not supported in Progress versions earlier than 7. If you want to test whether a procedure is running under an earlier version, you can use the KEYWORD function to determine whether PROVERSION is a keyword in that version. For example:
After you have determined that PROVERSION is available in the current version, then you can call a subroutine to invoke PROVERSION.- For SpeedScript, this function returns the WebSpeed version.
See also
OpenEdge Release 10.2B
|