Previous Next

CURRENT-LANGUAGE function
Returns the current value of the CURRENT-LANGUAGE variable.
Note:
Syntax 
 
CURRENT-LANGUAGE
Example 
The following example displays a message indicating the setting of your CURRENT-LANGUAGE:
 
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 
*
*
If the value of CURRENT-LANGUAGE is a quoted question mark ("?"), the AVM reads character‑strings from the default text segment.
*
*
*
*
*
*
See also 
COMPILE statement, CURRENT-LANGUAGE statement

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.