Home page  
Help >
DDL MODE COUNTRY Statement
Version 7.11
DDL MODE COUNTRY Statement MODE COUNTRY

MODE COUNTRY [OFF/country-parameters]

The country parameters are:

CURRENCY = "currency-symbol" (up to four characters)
DATE_SEP = "date-separator" (a dash, slash, or period)
TIME_SEP = "time-separator" (a colon or a period)
THOU_SEP = "thousands-separator" (a comma or a period)
DEC_SEP = "decimal-separator" (a comma or a period)
LIST_SEP = "list-separator" (a comma or a semicolon)
KEYBOARD = country-name (See below)
WORDS = country-name (See below)
DFORMAT = 0, 1, or 2 (Date Form - see below)
TFORMAT = 0 or 1 (Time Form - see below)

DATE FORMS: 0 = MM-DD-YYYY; 1 = DD-MM-YYYY; 2 = YYYY-MM-DD
TIME FORMS: 0 = 12 Hour; 1 = 24 Hour

All of the above have default values based upon your country code. Any parameter left unspecified will use whatever current or default value exists, so it is only necessary to specify the parameters you wish to change.

MODE COUNTRY OFF reverts to default parameters for your country code.

Be sure to see the description of saving and restoring MODE parameters discussed in the MODE command description. Also see the description of MODE DATEFORM .

Be sure to see the discussion of Cultural Awareness .

Country Names

For KEYBOARD: Your keyboard is automatically set up for your country. The MODE COUNTRY KEYBOARD parameter allows you to change it temporarily, but only to certain other countries, not all of them. If you are within the list that we support (below) you can change it and then change it back, but if not, the only way to change it back is with MODE COUNTRY OFF. The supported values for country names on MODE COUNTRY KEYBOARD are:

English/USA French
English/UK German
English/CAN Spanish
English/IRE

If English is stated without a subclassification then /USA is assumed.

For WORDS: Only English, German, and Spanish are supported at present.
This controls the _words() function .

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.