how do you resize an object array?
2 Feb
2014
2 Feb
'14
3:57 p.m.
This code works: SinOsc pls[0]; <<< "sinosc", pls.size() >>>; for (0 @=> int i; i < pls.size(); i++) { <<< i >>>; <<< pls[i].freq() >>>; } But this code fails: 2 => int siz; SinOsc pls[0]; siz => pls.size; <<< "sinosc", pls.size() >>>; for (0 @=> int i; i < pls.size(); i++) { <<< i >>>; <<< pls[i].freq() >>>; } It gives a run-time error: "[chuck](VM): NullPointerException: shred[id=1:untitled], PC=[53]" error. How do I dynamically resize an array of objects? (I just reinstalled miniAudicle today. running on Windows 7.) Thanks, George Locke
3940
Age (days ago)
3940
Last active (days ago)
0 comments
1 participants
participants (1)
-
George Locke