Runtime variable budget
int mode; // one slot
int samples[100]; // 100 slotsLast updated
Zen Studio Live permits at most 1,020 runtime variable slots. A scalar uses one; a runtime array uses one per element. Globals, function-call frames, parameters, and expression temporaries ultimately share the VM's 1,024-slot storage ceiling, so a script near the variable limit has almost no safe stack headroom.
int mode; // one slot
int samples[100]; // 100 slotsUse const arrays for immutable tables and runtime arrays only when elements must change.
Last updated

