MapInterface.setKeyType ()

macro setKeyType (rslType : Integer) : MapInterface

Устанавливает тип ключа type из языка RSL.

+

copy sample

map.setKeyType(V_STRING);
map.putItems("key1", "val1", "key2", "val2", "key3", "val3");
map.toScreen();
import "..\\mac\\extra\\collections\\collections.mac";
var map = LinkedHashMap();


map.setKeyType(V_STRING);
map.putItems("key1", "val1", "key2", "val2", "key3", "val3");
map.toScreen();