[Zope] using expr inside sendmail

Mike Doanh Tran mtran@shufflemasterrd.com
Tue, 10 Sep 2002 15:12:29 -0600


> Almost surely, your variables have different types in the two
> contexts (integer in one context and string in another).
> This would be your application, not the "sendmail" tag.

You are absolutely right.  My bad.


On Sat 07 Sep 02 12:16, Dieter Maurer wrote:
> Mike Doanh Tran writes:
>  > Assume A=5, B=3, and C=2.
>  > when I use this expression outside of the <dtml-sendmail> tag then I get
>  > a Total="10"
>  >
>  > Total = <dtml-var expr="A+B+C">
>  >
>  > But when i use the above expression inside of <dtml-sendmail>
>  > </dtml-sendmail> I get the value of A,B,and C (5 3 2)
>
> Almost surely, your variables have different types in the two
> contexts (integer in one context and string in another).
>
> This would be your application, not the "sendmail" tag.
>
>
> Dieter

-- 
Mike Doanh Tran
Shuffle Master Inc.
R&D Website:  http://internal.shufflemasterrd.com/