[fpc-devel] Proposal: Multiple assignments
Sven Barth
pascaldragon at googlemail.com
Fri Aug 6 10:45:48 CEST 2010
Am 06.08.2010 09:18, schrieb Michael Schnell:
> On 08/05/2010 10:17 PM, _-jane-_ at web.de wrote:
>> a,b:=0;
> Does _any_ language support that paradigm ?
Python:
http://docs.python.org/reference/simple_stmts.html#assignment-statements
Java: http://www.freejavaguide.com/assignment_operators.htm
Although "a=b=c" is more like "assign c to b and assign (the new value
of) b to a" (but it might work in C as well that way).
Regards,
Sven
More information about the fpc-devel
mailing list