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