[ic] loop-last based on a scratch value

Xavier GILLET xavier.gillet.perso at wanadoo.fr
Fri Nov 7 19:04:00 EST 2003


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

Perhaps you try something like this :

[seti end]
[loop-calc]
return 1 if $Scratch->{listing_counter} == 4;
[/loop-calc]
[/seti]
[loop-last][scratch end][/loop-last]





More information about the interchange-users mailing list