ok failure to communicate, my bad.
the events with the new global values shouldn't be sub events, just regular events.
and your clear events was happening after you load from array, so it was immediately being filled with 0.
but to make this point again, the array function ,clear to, does nothing, if your just going to load onto that array. for you project, it would only be useful for a "new document" purpose.
were you actually want the screen cleared.
here's the fixed .cap, every thing should work fine as far as saving and loading arrays.
but if it doesn't, let me know.