TIB: Re: Help with Nested FOR loops


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

TIB: Re: Help with Nested FOR loops




Wouldn't it be much easier to just switch the For( commands?
Then 'I' would increment first -- inside 'J's loop..

 :For(J,1,sqr(a))
 : For(I,1,sqr(c))
 :
 : "program code" 
 :
 : End
 :End

Hope this helps.

Tavis

>I was trying to write a program (its kinda hard to explain) where 
like
>the lines are something like:
>
>for (I,1,sqr(c))
>for (J,1,sqr(a))
>
>... buncha other crap
>
>then i want it to be next I
>then next J
>
>but all i know how to do is
>END
>END
>
>anyone know what to do? please help -- thank you much
>
>
>ben



_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com