Updated: 7/3/2020, 10:40:39 AM
Created: 7/3/2020, 10:40:39 AM
Last Updated By: Mike Street
Read Time: 2 minute(s)
Tags: languages date format currency format internationalization
jBASE utilizes the internationalization support inherent in the environment but also provides five additional commands to override these facilities. The commands are:
|SET-DEC||Set decimal point|
|SET-MONEY||Set currency symbol|
|SET-THOUS||Set thousands separator|
|DATE-FORMAT||Set date format|
When the jBASE application executes the default setting are obtained from the default language settings. This language setting provides primary control over the currency symbol, decimal point character, thousands separator, and the textual names of the days of the week and months of the year.
The usual system defaults are:
|Months||January, February, March,...., December|
|Days||Monday, Tuesday,...., Sunday|
On UNIX, languages are usually found in the /usr/lib/locale directory, the LANG environment variable is usually set to /usr/lib/locale/C. The default language can be modified by the jBASE SET-LANG command.
On Windows the settings are controlled from the Regional Settings Applet on the control panel.
# Language Modifiers
Once the jBASE Initialization has occurred then the language settings can be overridden with the additional jBASE utilities as follows: