[Zope] Another quick question

Tommy Johnson tommy@7x.com
Tue, 3 Jul 2001 15:20:36 -0800


Hello All,

Tell me if I'm missing something. I can write

<dtml-let temp="1 + 1"> and then use <dtml-var temp> to get the value 2.

Then why can't I use a variable and increment it using <dtml-let> ?

<dtml-let temp="REQEUST.myVar + 1">

I get an error :
Error Type: TypeError
Error Value: illegal argument type for built-in operation

The variable has the value of 1, so it should just add 1 an' 1 to give me 2.
Correct, yes/no?

Thanks in advance,
Tommy