[ic] loop-last question

Grant listbox at email.com
Thu Oct 9 14:35:50 EDT 2003


The [loop-last] tag doesn't seem to be working for me.  I've got the
following code:

[tmp counter]0[/tmp]
[loop search="ml=10000/ra=yes"]
        [tmp counter][calc] [scratch counter] + 1 [/calc][/tmp]
code: [loop-code]<br />
        [loop-last][calc] return 1 if '[scratch counter]' > 9;
[/calc][/loop-last]
[/loop]

and it returns all of the SKUs in my products table.  It seems like the loop
should stop when the counter hits 9.  Does anyone know what I'm doing wrong?

- Grant



More information about the interchange-users mailing list