4D v15.4

SPELL Get current dictionary

  •  
 
4D v15.4
SPELL Get current dictionary

SPELL Get current dictionary 


 

SPELL Get current dictionary -> 戻り値 
引数   説明
戻り値  倍長整数 in スペルチェックに使用される辞書のID

説明   

SPELL Get current dictionaryコマンドは使用中の辞書のID番号を返します。

例題  

カレント辞書の言語を表示します:

  // ロードされた辞書のリスト
 SPELL GET DICTIONARY LIST($IDs_al;$Codes_at;$Names_at)
 $curLangCode:=SPELL Get current dictionary
 $countryName:=$Names_at{Find in array($IDs_al;$curLangCode)}
  // メッセージを表示
 ALERT("カレント辞書: "+$countryName// Spanish



参照 

SPELL SET CURRENT DICTIONARY