tableID のキーである名前の一覧を返します。指定された tableID のマップがない場合には、NoValue を返します。
"マップ" データ構造は "ハッシュ テーブル" または "ルックアップ テーブル" とも呼ばれ、defineMap()を使用して作成されます。
getMapKeys ( tableID As Name ) As Boolean
引数 | [タイプ] | 説明 |
---|---|---|
tableID | [名前] | マップの名前です。以前に defineMap() で作成されている必要があります。 |
Intent >defineMap(:myMap) --> True Intent >setMapValue(:myMap, :myStringValue, "A String") --> True Intent >setMapValue(:myMap, :myIntegerValue, 123) --> True Intent >defineMap(:myMap, reset? := False) --> True Intent >getMapKeys(:myMap) --> {:myStringValue, :myIntegerValue} Intent >getMapValue(:myMap, :myStringValue) --> "A String" Intent >getMapValue(:noMap, :noValue) --> NoValue Intent >deleteMapValue(:myMap, :myIntegerValue) --> True Intent >getMapValue(:myMap, :myIntegerValue) --> NoValue