CURRENT-LANGUAGE
DEFINE VARIABLE cur-lang AS CHARACTER NO-UNDO.cur-lang = CURRENT-LANGUAGE.
IF cur-lang = "?" THENMESSAGE "Your current language is not set.".ELSEMESSAGE "Your current language is" cur-lang.
If the value of CURRENT-LANGUAGE is a quoted question mark ("?"), the AVM reads character‑strings from the default text segment.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |