[ic] loop-last question

Grant listbox at email.com
Mon Oct 13 16:12:12 EDT 2003


> Thanks Chris.  I didn't know what loop-increment was.  Time to
> get rid of my
> counters.  Thanks to your help I've got loop-last doing what I need.  But
> I'm wondering if there's a way to use it without calc.  Here's an example
> that works with calc:
>
> [loop search="ml=10000/ra=yes"]
> code: [loop-code]<br />
> 	[loop-last][calc] return '[loop-code]' eq 'sku-20';
> [/calc][/loop-last]
> [/loop]
>
> How could it be written without calc?
>
> - Grant

Can loop-last be used without calc?  I'm asking because I'm under the
impression that calling calc or perl results in a performance hit.

- Grant



More information about the interchange-users mailing list