On Tue, Aug 23, 2011 at 10:14 AM, Anand Chitipothu <[email protected]> wrote:
> 2011/8/23 John Fulton <[email protected]>:
>> On Tue, Aug 23, 2011 at 9:27 AM, Leandro Severino
>> <[email protected]> wrote:
>>>    Then, how to declare a empty variable in template ?  and how to
>>> make a SUM operation in this variable ?
>>
>> You can do this:
>>
>> <html>$(x+y)</html>
>>
>> You can't do this:
>>
>> $z = x+y
>> <html>$z</html>
>
> You can do it as:
>
> $ z = x + y
> <html>$z</html>
>
> Notice the space before z. Without the space it is considered as $(z) = x+y.

Thanks Anand. Sorry if I mislead anyone.

-- 
  John

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

  • [web... Leandro Severino
    • ... Greg Milby
      • ... Leandro - ProfessionalIT - Soluções em Tecnologia da Informação .
        • ... Greg Milby
    • ... John Fulton
      • ... Anand Chitipothu
        • ... Leandro - ProfessionalIT - Soluções em Tecnologia da Informação .
        • ... John Fulton

Reply via email to