Re: [PHP Template] Re: IF conditionals
[email protected] (Andrei Zmievski) Mon, 21 Feb 2000 09:04:01 -0600
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 21 Feb 2000, Erik Wrenholt wrote: > Perhaps we should use == instead... this gives us more room in the > future if we want to use = as an assignment operator. Although > assignments would be icky in a template, it could be useful. Hmm. Remember that this is for designers, so == is much less intuitive than =. > > > What about supporting an alternative syntax, like: > > > eq, ne, lt, gt, lte, gte > > > > Why? > > I'm used to using this when comparing strings from perl, so if it's not > difficult to add them, it would be used most likely. Once again, would this help designers? -Andrei "Someone clearly thinks that C is a garbage collected language" -- Morten Welinder