|
![](/i/fill.gif) |
stevenvh <nomail@nomail> wrote:
> Warp <war### [at] tag povray org> wrote:
> > stevenvh <nomail@nomail> wrote:
> > > MyTable[0][i] = i + 1
> >
> > You have to #declare that.
> >
> > (Also, you are not incrementing 'i' anywhere.)
> Thanks for the reply. The increment got lost in copying the code (I removed a
> lot of code to get to the core of the problem). I have #declared MyTable, even
> with initialization values (first line of the code), and i is declared as
> #local, which should be as good as #declare. Changing it to #declare doesn't
> solve the problem, anyway.
You don't understand. You have to #declare what I quoted.
#declare MyTable[0][i] = i + 1;
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |