4D v16.3

SPELL ADD TO USER DICTIONARY

Home

 
4D v16.3
SPELL ADD TO USER DICTIONARY

SPELL ADD TO USER DICTIONARY 


 

SPELL ADD TO USER DICTIONARY ( words ) 
Parameter Type   Description
words  Text, Text array in Word or list of words to add to user dictionary

The SPELL ADD TO USER DICTIONARY command adds one or more words to the current user dictionary.

A user dictionary is a dictionary containing words added by the user to the current dictionary. This dictionary is a file named UserDictionaryxxx.dic (where xxx represents the ID of the current dictionary) that is created automatically in the current 4D folder. There is a user dictionary for each current dictionary used. 

In words, pass a text string or a text array containing the word(s) to be added to the user dictionary. If one of the words is already found in the dictionary, it is ignored by the command.

Example  

Adding proper nouns to the user dictionary:

 ARRAY TEXT($arrTwords;0)
 APPEND TO ARRAY($arrTwords;"4D")
 APPEND TO ARRAY($arrTwords;"Wakanda")
 APPEND TO ARRAY($arrTwords;"Clichy")
 SPELL ADD TO USER DICTIONARY($arrTwords)



See also 

SPELL CHECK TEXT

 
PROPERTIES 

Product: 4D
Theme: Spell Checker
Number: 1214

 
HISTORY 

Created: 4D v13

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)