4D v13.4

SPELL ADD TO USER DICTIONARY

Home

 
4D v13.4
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)

 
PROPERTIES 

Product: 4D
Theme: Spell Checker
Number: 1214

 
INDEX

Alphabetical list of commands

 
HISTORY 

New
Created: 4D v13

 
SEE ALSO 

SPELL CHECK TEXT