[Zope] comparing two variables type="int"

Dieter Maurer dieter@handshake.de
Tue, 18 Jun 2002 21:40:42 +0200


Mike Tran writes:
 > I have two variables A & B whose types are "int".  What is wrong with this 
 > comparision?
 > 
 > (Assume A=5 and B=5)
 > 
 > <dtml-if "A==B"> 
 > Then do something 
 > </dtml-if>
It is nothing wrong. It must work!

But DTML is dangerous.

   Sometimes, you do not get the objects you expect.
   I expect that this is your true problem.


Dieter