The Is Operator

Anders F Björklund afb at algonet.se
Tue Oct 2 14:30:10 PDT 2007


Kyle G. wrote:

> The code I am concerned about is "var !is null" which appears to 
> translate to "var not is null" when it actually means "var is not null." 
> Is there any special reason why we are unable to do "var isnot null" or 
> "var is not null"?

A few hundred, search the newsgroup for more details...

If you hate it a lot, then just use "if (var)" instead.

--anders



More information about the Digitalmars-d mailing list