This may be true, but this is not the problem. The problem is when you 
need to access the row of the outer loop, from within the inner loop:

This would not work:
<@for start=1 stop=100>
        Outer loop row is <@currow>
        <@for start=500 stop=600>
                Inner loop is <@currow>
                Outerloop is <@currow>
        </@for>
</@for>

This would:
<@for start=1 stop=100>
        Outer loop row is <@currow>
        <@assign local$outerRow <@currow>>
        <@for start=500 stop=600>
                Inner loop is <@currow>
                Outerloop is @@local$outerRow
        </@for>
</@for>

Make sense?

Robert.

On Wednesday, August 28, 2002, at 04:35  PM, Thomas Ferguson wrote:

> 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>

-- 

Robert Garcia
BigHead Technology
2781 N Carlmont Pl
Simi Valley, CA 93065
Phone 805.522.8577
http://www.bighead.net/
http://www.theradmac.com/
[EMAIL PROTECTED]

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to