|
|
Dumb question I think but I'm puzzled. It's my first use of arrays
I'm trying to create an array of variable size but when I try to use any
elements it bombs telling me the array is not initialised. What am I mising
?
#declare Iterations = 20;
#declare row1 = array[Iterations];
#declare row2 = array[Iterations];
#declare loop = 0;
#while(loop < Iterations)
row1[loop] = <0,0,0>; // errors here??????!!!??????
row2[loop] = <0,0,0>;
#declare loop = loop + 1;
#end
Post a reply to this message
|
|