Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var obj:Dynamic;
- var map:Map<Int, Dynamic> = new Map<Int, Dynamic>();
- for ( i in 0...10) {
- obj = Dynamic;
- obj.id = i;
- map.set(i, obj);
- }
- var ob:Dynamic;
- for (ob in map) {
- trace(ob.id);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement