[ic] modifying item-increment
Thu, 19 Apr 2001 17:57:07 -0400
On Thu, Apr 19, 2001 at 01:59:48PM -0700, Ryan Hertz wrote:
> 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]' ==
> >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].
Alternatively it might be possible to modify the search so it does not
include those, eg search where !inactive.
> Ryan Hertz tel 800-645-BAIT
> Webmaster fax 520-645-2588
> Advertising Director http://www.baits.com
> Gary Yamamoto Custom Baits, Inc. mailto:email@example.com
> Interchange-users mailing list
Christopher F. Miller, Publisher firstname.lastname@example.org
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
Content management, electronic commerce, internet integration, Debian linux