equals assignment

Urza tawngarth at magic.com
Fri Apr 27 13:01:37 PDT 2007


I think d should add an operator for assignment ":=" instead
of "==" like Perl 6.
http://dev.perl.org/perl6/doc/design/apo/A03.html

I recently had trouble with == and = and I think D should add a
Pascal like equals operator. This would be an improvement and allow
the avoidance of a == d + 1; errors

ie if (a == d) ...
ie if (a := d) ...

:=



More information about the Digitalmars-d mailing list