At 05:44 AM 4/7/2004, [EMAIL PROTECTED] wrote:
What is wrong with

[% FOREACH row = resultset.slice (nstart, nstart + 10); %]

it seems to not like the nstart + 10, (115: unexpected token (+)) or for that matter

list.push ("a" _ "b")

I end up having to create lots of temporary variables.

Yeah, I noticed similar problems myself. My assumption was that the parser only recognizes values (not expressions) in argument lists. I resigned myself to temp vars a long time ago, but never did think to ask about it on the list. Is there an alternative? Is this addressed in TT3?


Jason



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to