[fpc-devel] Proposal: Multiple assignments
Michael Schnell
mschnell at lumino.de
Fri Aug 6 09:18:23 CEST 2010
On 08/05/2010 10:17 PM, _-jane-_ at web.de wrote:
> a,b:=0;
Does _any_ language support that paradigm ?
AFAIK, lisp can do assignments to lists, but I don't know the syntax.
I once used a language that allowed for functions with multiple return
values:
a, b := myfunc(x);
I felt that this makes some sense, but
a,b := 0 just as a short for
a := 0; b := 0;
does not seem like a great improvement.
-Michael
More information about the fpc-devel
mailing list