Kbase P183923: How to check the Progress version being used at compile time?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/10/2011 |
|
Status: Unverified
GOAL:
How to check the Progress version being used at compile time?
GOAL:
How to compile some source code lines for one version of Progress and other lines for a different version of Progress?
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
FIX:
Use the PROVERSION function. For example:
&IF (PROVERSION BEGINS "10.2") &THEN
MESSAGE "10.2"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
&ELSE
MESSAGE PROVERSION
VIEW-AS ALERT-BOX INFO BUTTONS OK.
&ENDIF