// Globals 7: setting and getting ints[], floats[] global int globalInts[5]; global float globalFloats[5]; 2 => globalInts[1]; 4.5 => globalFloats[3]; 3 => globalInts["hi"]; 5.5 => globalFloats["hello"]; global Event windsOfChange; <<< globalInts[1], globalFloats[3], globalInts["hi"], globalFloats["hello"] >>>; windsOfChange.signal(); 0.5::second => now; <<< globalInts[1], globalFloats[3], globalInts["hi"], globalFloats["hello"] >>>; <<< globalInts["bye"], globalFloats["goodbye"] >>>; <<< globalInts[7], globalFloats[7] >>>; windsOfChange.signal();

File name to use in ChucK:

Local file to upload:

shred | code | time | remove
--- | --- | --- | ---