not operator operator..

kris foo at bar.com
Mon Apr 3 22:21:21 PDT 2006


S. Chancellor wrote:
> I really really hate the !in, !is syntax.   I think a lot of other 
> people do too. I propose that the word not, become an operator on 
> operators.  For example:
> 
> Foo not is null
> Foo not in Bar
> 
> This not keyword will only function when it is part of these expressions:
> 
> EqualExpression
> RelExpression
> InExpression
> 
> As a consequence the following would be valid:
> 
> Foo not == Bar
> Foo not <= Bar


D !is BASIC

;-)



More information about the Digitalmars-d mailing list