[ic] loop-last based on a scratch value

Barry Treahy, Jr. Treahy at MMaz.com
Fri Nov 7 11:21:33 EST 2003


Grant wrote:

>The following doesn't work.  Is it a syntax problem, or is a loop-last based
>on a scratch value just not going to happen?
>
>[loop-last][loop-calc] return 1 if $Scratch->{listing_counter} == 4;
>[/loop-calc][/loop-last]
>
>  
>
It doesn't work because you're doing nothing to increment your 
counter...  Besides, this code fragment doesn't clearly show what you 
are really trying to do...

Barry

-- 

Barry Treahy, Jr                       E-mail: Treahy at MMaz.com
Midwest Microwave                          Phone: 480/314-1320
Vice President & CIO                         FAX: 480/661-7028
                       





More information about the interchange-users mailing list