RE: Small feature request for future EU versions

new topic     » topic index » view thread      » older message » newer message

CoJaBo wrote:
> 
> 
> posted by: CoJaBo <cojabo at suscom.net>
> 
> Vincent wrote:
> > 
> > It would be nice to have the '==' (equal comparison) relational
> > operator implemented in future versions of EU. Many programming
> Unfortunatly this, while it certainly be helpful, will probably never
> be added...
> 


It sounds like we will be able to add it ourselves once 2.5 arrives.



> > languages have this operator for equal comparision, while EU
> > uses equal(). I doubt anyone will comfuse '==' with the '='
> > assignment operator. And if this is a compatibility issue,
> > keep the equal() ruitine until people agree that it is no longer
> If this is ever added, equal() should remain. '==' would simply
> be short for equal(). Less typing good!
> 


  bool = equal(s1,s2)
is just a shortcut for
  bool = (compare(s1,s2) = 0)


I think I would prefer an operator like ==.

I think that is something that can be done in a preprocessor though.
Alot of the changes that people want can be done in a preprocessor, and 
once 2.5 arrives, we will have the ability to edit the front end, I 
beleive, which is even better than a preprocesor.


Chris Bensler
Code is Alchemy

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu