SET DICTIONARY

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2004.5 (Modified)


SET DICTIONARY (dictionary)

ParameterTypeDescription
dictionaryLongintDictionary to use for spell-check

Description

The SET DICTIONARY command causes the replacement of the current dictionary with the one specified by the dictionary parameter. The current dictionary is used for the built-in spell-check feature in 4D (for more information, refer to the 4D Design Reference manual).

The modification of the current dictionary is reflected in all the processes of the database for the session.

By default, 4D uses the dictionary corresponding to the application language. Five main dictionaries are available: English, French, German, Spanish and Norwegian.

In dictionary, pass the number of the dictionary to use. You can use one of the following predefined constants, which are found in the "Dictionaries" theme:

ConstantType Value
English DictionaryLongint69632
German DictionaryLongint131584
Spanish DictionaryLongint196608
French DictionaryLongint262144
Norwegian DictionaryLongint589824

In addition, numerous variants are available for each of the four main languages. Here is the full list of all variants supported by the command. To load a variant, pass its value directly in the dictionary parameter:

DictionaryValue
English (United Kingdom) 65536
English Irish (Ireland) 65600
English Australian (Australia) 65664
English of New Zealand 65680
English American (USA)65792
English Canadian (Canada) 65920
English South African (South Africa)66048
English West Indian (Caribbean) 66176
English Jamaican (Jamaica) 66192
English (United Kingdom + America) 69632 (*)
German standard (Germany, old spelling) 131072
German of Luxembourg131073
German of Austria131088
German of Liechtenstein131089
German of Switzerland (old spelling)131104
German of South Tyrol131120
German New spelling131328
German of Switzerland New spelling131360
German Old and New spelling131584 (*)
German of Switzerland Old and New spelling131616
Spanish standard (Spain)196608 (*)
Spanish of Latin America standard196864
Spanish Argentinean (Argentina)196865
Spanish Bolivian (Bolivia)196866
Spanish Chilean (Chile)196867
Spanish Columbian (Columbia)196868
Spanish Cuban (Cuba)196869
Spanish Costa Rican (Costa Rica)196870
Spanish Dominican (Dominican Rep.)196871
Spanish Ecuadorian (Ecuador)196872
Spanish Guatemalan (Guatemala)196873
Spanish Honduran (Honduras)196874
Spanish Mexican (Mexico)196875
Spanish Nicaraguan (Nicaragua)196876
Spanish Panamanian (Panama)196877
Spanish Paraguayan (Paraguay)196878
Spanish Peruvian (Peru)196879
Spanish Puerto Rican (Puerto Rico)196880
Spanish Salvadorian (El Salvador)196881
Spanish Uruguayan (Uruguay)196882
Spanish Venezuelan (Venezuela)196883
Spanish Guinean (Equatorial Guinea)197121
France, Monaco, Valle d'Aosta262144 (*)
Canada262160
Louisiana262161
Belgium262176
Luxembourg262177
Switzerland262192
Martinique, Guadeloupe, Haïti, Guyana262208
Reunion, Seychelles, Comoro, Mauritius262224
Tahiti, New Caledonia, Vanuatu, etc.262240
Morocco, Algeria, Tunisia262256
French African standard262272
Benin262273
Burkina Faso262274
Burundi 262275
Cameroon262276
Central African Republics262277
Congo (Brazzaville)262278
Democratic Republic of Congo (ex-Zaire)262279
Ivory Coast262280
Djibouti262281
Gabon262282
Guinea262283
Mauritania262284
Niger262285
Rwanda262286
Senegal262287
Chad262288
Togo262289
Bokmal Norwegian589824 (*)
Nynorsk Norwegian590080
Samnorsk Norwegian590336

(*) standard dictionary that is installed when you use a constant.

Note: The Norwegian dictionary is not present by default in 4D. Please contact 4D in order to obtain it free of charge. You must then install it in the 4D Extensions/Spellcheck folder.

See Also

SPELL CHECKING.

System Variables or Sets

If the dictionary is loaded correctly, the system variable OK is set to 1; otherwise, it is set to 0 and an error is returned.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next