Progress
Language Reference


CURRENT-LANGUAGE Function

Interfaces
OS
SpeedScript
All
All
No

Returns the current value of the CURRENT-LANGUAGE variable.

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.

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


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095