Re: TIB: Help with Nested FOR loops


[Prev][Next][Index][Thread]

Re: TIB: Help with Nested FOR loops




> I don't think Josef's idea quite works, since it forgets the nesting
> aspect. Try this:

:For (I,1,sqr(c))
:For (J,1,sqr(a))
:Stuff
:Goto B
:Lbl A
:End
:Lbl B
:End
:Goto A

Of course, it would be much easier to put the J loop before the I loop, but
that may not work if you use I and J within the commands...



Follow-Ups: References: