|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jonez734 Smarty n00b
Joined: 19 Oct 2005 Posts: 3
|
Posted: Wed Oct 19, 2005 7:12 pm Post subject: request: bit-wise operator support |
|
|
greetings,
I realize the docs do not claim that this sort of syntax is supported, but it would be nice if something like:
{if $flag & 0x0002}blah{/if]
would work. if that sort of thing is not supposed to work, could the compiler generate some kind of "not implemented" error or something?
for the record, it's possible to use the {php}/{/php} construct to make it work, but that is not very "clean" imho. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
jonez734 Smarty n00b
Joined: 19 Oct 2005 Posts: 3
|
Posted: Wed Oct 19, 2005 9:08 pm Post subject: |
|
|
sorry, didn't notice he'd already asked the question in another thread. I was trying to help skold out |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|