4D v13.4

SPELL Get current dictionary

ホーム

 
4D v13.4
SPELL Get current dictionary

SPELL Get current dictionary 


 

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

説明   

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

例題  

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

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

 
プロパティ 

プロダクト: 4D
テーマ: スペルチェッカー
番号: 1205

 
目次

コマンドリスト (文字順)

 
履歴 

New
初出: 4D v13

 
参照 

SPELL SET CURRENT DICTIONARY