[ic] modifying item-increment

Ryan Hertz rhertz@baits.com
Thu, 19 Apr 2001 13:59:48 -0700


At 01:48 PM 4/19/01 , Russ Mann wrote:
>Hello List,
>
>Is there any way in the [search-list] loop to modify the [item-increment]
>variable?  I have some of these:
>[item-next][calc]return 1 if '[item-field inactive]' ==
>'1'[/calc][/item-next]
>which causes the increment to go like this sometimes.
>
>1. 2. 4. 5. 7. 10.
>
>If I could do something like $item_ncrement--; in the item-next routine, it
>would fix everything.  I've looked around in the source, but couldn't figure
>out how to do this.

Your best bet is to just increment a scratch var and ignore [item-increment].





Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                                 http://www.baits.com
Gary Yamamoto Custom Baits, Inc.                  mailto:rhertz@baits.com