Oh, and another thing, did you mean to use "#local" instead of
"#declare" within the loops? Someone else might shed some
light on whether that mix is expected to work here.
rc
"Robert Chaffe" <a0003738@airmail.net> wrote in message
news:38dadf04@news.povray.org...
> Note moved declaration of b below. Is that what you need?
> rc
>
> "Richard Speir" <dai### [at] mindspring com> wrote in message
> news:38DADE7C.CFB725A1@mindspring.com...
> > Bah!! Cursed Netscape mail program! Here's the code; hope it's clearer
> > now:
> >
> > #declare a = 0;
>
> /* #declare b = 0; <== removed this and moved down ... */
>
> > #declare layers = 3;
> > #declare sections = 12;
> >
> > #while (a<layers+1)
>
> #declare b = 0; /* ... to here. */
>
> > #while (b<sections+1)
> > <insert macro here>
> > #local b = b + 1;
> > #end
> > #local a = a + 1;
> > #end
Post a reply to this message
|