I'm trying to compare two number, or at least I think they're numbers.
You should be asking this on [EMAIL PROTECTED]
If I do: <dtml-var i> <dtml-var j> <dtml-if expr="i == j"> Equal block </dtml-if> I and J print out the same, but do not compare to be equal since "Equal block" string doesn't print.
...and this should be in a python script!
print i print j if i==j: print "Equal block" return printed
DTML sucks for this, as you can see, because it evaluates things in interesting and unexpected ways...
cheers,
Chris
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )