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.
PROVERSIONIn OpenEdge releases starting with OpenEdge 11, the value returned is a character string of period-separated significant digits in the following form, starting at zero (0):
MM.EE.SS.HH BetaEnhancement version number, starting at 0 and increasing by 1 for each Enhancement version within a Major version.Service Pack version number, starting at 0 and increasing by 1 for each Service Pack version within an Enhancement version.Hot Fix version number, starting at 0 and increasing by 1 for each Hot Fix version within a Service Pack version.For example, the value returned for first OpenEdge 11 release is "11.0.0.0", and the value returned for the Beta of this release is "11.0.0.0Beta".The following example displays your current ABL version or OpenEdge release:
MESSAGE "You are currently running Version/Release" PROVERSION.
![]()
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:
IF KEYWORD("PROVERSION") = ? THEN /* Lower than Version 7. */.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.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |