TableID のキーが返される names の list をクリックします。 を返します。 指定された tableID のマップがない場合は NoValue をクリックします。
"マップ" データ構造は "ハッシュ テーブル" または "ルックアップ テーブル" とも呼ばれ、defineMap()を使用して作成されます。
getMapKeys ( tableID As Name ) As Boolean
引数 | [タイプ] | 説明 |
---|---|---|
tableID | Name | マップの name をクリックします。 以前に 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