| 4D v14.4SPELL SET CURRENT DICTIONARY | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v14.4
 SPELL SET CURRENT DICTIONARY 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SPELL SET CURRENT DICTIONARY ( dictionary ) | ||||||||
| Parameter | Type | Description | ||||||
| dictionary | Longint, Text |   | ID, Name, or Language code of dictionary to use for spell-check | |||||
The SPELL SET CURRENT 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) as well as the one in the 4D Write and 4D View plug-ins. The modification of the current dictionary is reflected immediately in all the processes of the database for the session, as well as in the 4D Write and 4D View plug-in areas.
By default, 4D uses:
Note: For more information about Hunspell dictionaries, refer to the Support of Hunspell dictionaries section.
You can use the dictionary parameter to change the dictionary. You can pass either:
Compatibility note: In previous versions of 4D, "Cordial" dictionaries were supported. For compatibility, it is still possible to pass a "Cordial" dictionary number in the dictionary parameter (value or constant from the "Dictionaries" theme). In this case, however, the dictionary is redirected internally to an equivalent Hunspell dictionary (or the native dictionary under OS X).
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.
Loading of the "fr-classic" dictionary found in the Hunspell folder:
 SPELL SET CURRENT DICTIONARY("fr-classic")
  // SPELL SET CURRENT DICTIONARY ("FR-classic.dic") is valid
									SPELL CHECKING
									
									SPELL Get current dictionary
									
									SPELL GET DICTIONARY LIST
									
	Product:  4D
	Theme:  Spell Checker
	Number:  
        904
        
        
        
	

	Modified:  4D 2004.5
	Modified:  4D v13
	Renamed: 4D v13
	Modified:  4D v14
	
	
	
	
	4D Language Reference ( 4D v15)
	4D Language Reference ( 4D v14.4)
	
	
	4D Language Reference ( 4D v15.4)
	
	
	
	
	4D Language Reference ( 4D v15.3)
	
	
 Add a comment
Add a comment