|
|
hi,
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I was restructuring some code, and wanted to take advantage of using the new
> array features.
>
> #local ToothPrismArray = array [1];
>
> #local ToothPrismArray [0] = <_RC, _RC>;
> #local ToothPrismArray [1] = RotatePoint (<_RC, 0>, -_HT);
> #local ToothPrismArray [2] = RotatePoint (<_RB, 0>, -_HT);
>
> When I get to the second line of element definitions, I get the old "Array
> subscript out of range" error.
>
should work if you get rid of the initial dimension, ie
#local ToothPrismArray = array;
regards, jr.
Post a reply to this message
|
|