[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: loop counter
****** message to minivend-users from August Detlefsen <augustd@idiom.com> ******
Try this:
Outside your loop, put:
[set results]0[/set]
Then, somewhere inside add:
[perl arg=scratch]
$Safe{'scratch'}{'results'}++;
return '';
[/perl]
You can see what number you're on with:
[scratch results]
Then it is easy to do a calc to see if it is time to add the <TR>
-August
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list