[ic] Looping with alternate row
Jürgen R. Plasser
plasser at hexagon.at
Tue Sep 16 18:50:16 EDT 2003
--On 16.09.2003 17:05 +0200 Juergen R. Plasser wrote:
> How can I perform this tags right (in a [search-list]):
> [if value [item-increment] == 10]<p>This is 10</p>[/if]
> How can I compare the [item-increment] modulo 10 == 1?
> Seems that I have to dive into perl...
I have tried something like
$inc = '[item-increment]';
return 1 if ($inc % 10) == 1;
This is 10.
This is not 10.
and it works...
More information about the interchange-users