[fpc-devel] Proposal: Enhanced replacement for assignment operators

_-jane-_ at web.de _-jane-_ at web.de
Thu Aug 5 22:19:45 CEST 2010


Hello everybody,

I would like to propose an enhanced replacement for the special assignment operators += -= *= and /= :
More pascal-like would be constructs of the form "operator :=" such as
  a + := 1;
  a div := 3;
  a or := b;
  a xor := 3;
  a << := 1;

Together with my prior proposal of multiple assignments there could be stuff like below as well:
  a,b + := c+d;
  a,b << := 1;

I'm not sure as how to further enhance this to monadic operators such as "-" and "not".

Jasper
___________________________________________________________
Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02



More information about the fpc-devel mailing list