Difference between is and ==
Suliman
evermind at live.ru
Tue Feb 4 00:08:28 PST 2014
What difference between
if ((x = stdin.readln().chomp) is "q")
and
if ((x = stdin.readln().chomp) == "q")
?
More information about the Digitalmars-d-learn
mailing list