: Re: [SMARTY-DEV] simple math
| From: | boots | Date: | Fri, 02 May 2003 20:34:30 +0000 |
| Subject: | : Re: [SMARTY-DEV] simple math | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1323@lists.php.net to get a copy of this message | ||
Monte, this is great.
Of course, everyone will want $var1+$var2. I thought I might suggest
that to get math functionality without changing the parsing too much,
the math expression must be enclosed in parens.
ie. $var+1 <== no math
($var+1) <== math allowed
Might make $var1+$var2 easier to interpret.
Just an idea.
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com