[ic] loop-last question

Grant listbox at email.com
Tue Oct 14 18:00:49 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

The above is just an example.  I was just trying to figure out how to use
loop-last.

- Grant



More information about the interchange-users mailing list