PreviousNextIndex

CURRENT-LANGUAGE function

Returns the current value of the CURRENT-LANGUAGE variable.

Note: Does not apply to SpeedScript programming.
Syntax

CURRENT-LANGUAGE 

Example

The following example displays a message indicating the setting of your CURRENT-LANGUAGE:

r-curlng.p
DEFINE VARIABLE cur-lang AS CHARACTER NO-UNDO. 
cur-lang = CURRENT-LANGUAGE. 
IF cur-lang = "?" THEN  
  MESSAGE "Your current language is not set.". 
ELSE  
  MESSAGE "Your current language is" cur-lang. 

Notes
See also

COMPILE statement, CURRENT-LANGUAGE statement


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex