[ic] loop-last question
Mike Heins
mike at perusion.com
Tue Oct 14 20:42:58 EDT 2003
Quoting Chris Wenham (cwenham at synesmedia.com):
> On Tuesday 14 October 2003 12:49, Grant wrote:
> > Alright, that makes sense. ?Can you think of any way to use loop-last
> > without calc or perl?
>
> [set stop]9[/set]
> [loop search="ml=10000/ra=yes"]
> code: [loop-code]<br/>
> [loop-last]
> [if scratch stop eq '[loop-increment]']1[/if]
> [/loop-last]
> [/loop]
This uses embedded perl by the back door; the eq requires it.
I don't know why you couldn't just say:
[loop search="
ml=[scratch stop]
ra=yes
"]
...
[/loop]
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike at perusion.com>
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
More information about the interchange-users
mailing list