|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 2 Jun 2004 17:38:23 +0100, "Felbrigg" <som### [at] microsoftcom> wrote:
> row1[loop] = <0,0,0>; // errors here??????!!!??????
> row2[loop] = <0,0,0>;
You missed #declare or #local before row1 and row2.
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Now I feel stupid
"ABX" <abx### [at] abxartpl> wrote in message
news:811sb0hoito8o2rioo2tj4i3r0v141hari@4ax.com...
> On Wed, 2 Jun 2004 17:38:23 +0100, "Felbrigg" <som### [at] microsoftcom>
wrote:
>
> > row1[loop] = <0,0,0>; // errors here??????!!!??????
> > row2[loop] = <0,0,0>;
>
> You missed #declare or #local before row1 and row2.
>
> ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|