Really?? I'm amazed... Thanks, I'll give it a try...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of JJ Smith Sent: Wednesday, August 28, 2002 7:14 PM To: Multiple recipients of list witango-talk Subject: RE: Witango-Talk: For Loop within a For Loop?? Hi Thomas, I am going to go against all the replies to this thread and say yes you can depend on Witango to keep track of both instances of <@currow>. I was pleasantly surprised before when I found that you could with <@rows> and I have checked it with <@for> just now.... Paste the following into a results: <@FOR START="1" STEP="1" STOP="5"> <b>This is the outer for loop and currow is <@currow></b><br> <@FOR START="1" STEP="1" STOP="10"> This is in the inner loop and currow is <@currow><br> </@FOR> </@FOR> When you run this you will see that Witango does know which loop it is in when calling <@currow> - I am using the beta dev studio and beta server but I have tried it on the old server too and it's fine - Maybe I'm missing something but I have done this before for more complex arrays and have since presumed Witango can keep track of the loop it is in..... Any ideas? JJ --- Thomas Ferguson <[EMAIL PROTECTED]> wrote: > Thanks Ben and John... > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Ben Johansen > Sent: Wednesday, August 28, 2002 1:02 PM > To: Multiple recipients of list witango-talk > Subject: RE: Witango-Talk: For Loop within a For > Loop?? > > > Yes, > I set up an <@ASSIGN just after each <@FOR > <@ASSIGN local$ctr1 VALUE="<@CURROW>"> > > And then use the ctr1 in the outer loop > > Ben Johansen - http://www.pcforge.com > Authorized Witango Reseller > http://www.pcforge.com/WitangoGoodies.htm > Latest downloads & List Archives @ > http://www.witango.ws > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > Thomas Ferguson > Sent: Wednesday, August 28, 2002 9:54 AM > To: Multiple recipients of list witango-talk > Subject: Witango-Talk: For Loop within a For Loop?? > > When I put a for loop within a for loop, how is > <@currow> affected? > Surely > I can't depend on Witango to keep track of both > instances of <@currow>. > Will I need to keep my own row counter for each > loop? > > TIA > > Tom Ferguson > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > with unsubscribe witango-talk in the > message body > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > with unsubscribe witango-talk in the > message body > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > with unsubscribe witango-talk in the > message body __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
