[ic] [*-increment]

Stefan Hornburg Racke interchange-users@lists.akopia.com
Wed Jul 4 02:21:01 2001


"Tim Mirecki" <tim@q5.ca> writes:

> Why not create a scratch variable? Like this:
> 
> [seti counter]0[/seti]
> 
> [loop]
> 
>   *** your loop code ***
>   [seti counter][calc interpolate="1"][scratch counter]+1[/calc][/seti]

[perl]$Scratch->{counter}++[/perl]

would be faster, I think.

> 
> [/loop]
> 

Ciao
        Racke

> That way you can set what number is starts at, add a number each time,
> subtract a number...or five if you want. Much better than complicating an
> Interchange tag with more properties.
> 
> ciao
> 
> 
> 
> -----Original Message-----
> From: interchange-users-admin@developer.akopia.com
> [mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Victor
> Nolton
> Sent: Tuesday, July 03, 2001 7:14 PM
> To: interchange-users@developer.akopia.com
> Subject: [ic] [*-increment]
> 
> I was curious if there is or will be a such thing as
> [*-increment n] where n is a value to start incrementing from. I
> guess there could be a other attribute to go up or down.

-- 
Master of Swiss Web 2001: http://www.zweifel.ch/

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)