|
|
> Hi to all !
>
> A stupid problem , i write an array and i can't read it (141 vectors) with a
> 'while loop', here's the console message :
> --
> File: _array.inc Line: 43
> File Context (5 lines):
> <462.75,1,102.5> ,<462.75,1,102.5> ,<462.75,1,102.5> ,<493.5,1,101.25> ,
> <
> Parse Error: No matching } in '{',< found instead
> --
>
> In this file _array.inc i see nothing wrong; here is end lines :
>
> <462.75,1,102.5> ,<462.75,1,102.5> ,<462.75,1,102.5> ,<493.5,1,101.25> ,
> <511,1,101.5> ,}
>
> And my while loop is :
>
> #declare I=0;
> #while (I<Nbr_de_pt)
> sphere{Traject_array[I],5 pigment{Blue}}
> #declare I =I+1;
> #end
>
> I really don't know and see where, and what is the mistake. What do you think
> about ?
> Thanks for your interest about this.
>
>
>
>
There is a coma before the closing brace.
As it is now, you write eache elements and unconditionaly follow it with
a coma, resulting in one superflous coma.
Possible cure:
Write the first element.
Write a coma BEFORE each successive elements.
Alain
Post a reply to this message
|
|