Quoting Jeff Dafoe (suppressed):
>
> I don't think this is the most efficient way for me to accomplish this:
>
> [tmp itemcnt][calc][scratch itemcnt]+1[/calc][/tmp]
>
> How might that be better constructed?
Question is, what are you inside?
If you are inside an list, by far the best thing to do is
just use the [loop-increment] or [loop-count] thingies. If
you need a custom count, you would want
[tmpn itemcnt][/tmpn]
[loop ....]
[loop-calc] ++$Scratch->{itemcnt} [/loop-calc]
[/loop]
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <suppressed>
Few blame themselves until they have exhausted all other possibilities.
-- anonymous
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.