> If Pascal /had/ to have some sort of multiple assignment, I'd have thought borrowing an idea from Perl and doing something like
[a, b, c] := (d = e); would have been minimally acceptable. I would pick from Lua instead, it looks cleaner. Well... I'll make it stricter though, by making the number of elements on both side must equal. e.g.: a,b,c := v1,v2,v3; a,b := b,a; // value swapping -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Changing-variable-in-conditional-tp5712493p5712533.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal