Sometime Today, Martijn van den Burg assembled some asciibets to say:

> I started using the __counter__ variable to dynamically build
> JavaScript arrays in my HTML. Unfortunately __counter__ starts
> counting at 1 (one), resulting in my first (i.e. index zero) array
> elements not being initialized.

Isn't it just easier to use arr[<tmpl_var __counter__> - 1]; ?

That's what I've been doing.

-- 
Early to rise, early to bed, makes a man healthy, wealthy and dead.
                -- Terry Pratchett, "The Light Fantastic"




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to