Advanced Language Reference
Quick glossary
fixed: [4]int = {1, 2, 3, 4};
view: []int = fixed; // slice view
list: [..]int;
list.append(10);
list.append(20);Dynamic arrays ([..]T)
Creating and appending
players_seen: [..]string;
players_seen.append(player.get_user_id());Reserving capacity (performance)
Removing items
Clearing
Passing arrays into procedures
Iteration patterns
Iterate elements
Iterate indices
Hashtables
Closures, callbacks, and userdata (important)
API reference
Last updated