- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Is there a library for mapping arbitrary values/handles to other arbitrary values/handles (like a Python Dictionary). I've got the Table library but not sure if it do this.
e.g.
How could I use Table to do this?
Is there a library for mapping arbitrary values/handles to other arbitrary values/handles (like a Python Dictionary). I've got the Table library but not sure if it do this.
e.g.
JASS:
Dictionary d
local button b
local dialog d
set d[b] = d
//now we have mapped this specific button to that specific dialog
//so if I call d[b] I will get back that dialog instance d
d == d[b] //returns true
How could I use Table to do this?