C
Christer Nilsson
The parallel assignment syntax
[a,b] = [c,d] is not allowed
I have to write
a, b = [c,d]
Going deeper
[a, [b, c]] = [1, [2, 3]] is not allowed
I have to write
a, (b, c) = [1, [2, 3]]
I'm sure there is a good reason these constructs are disallowed.
Can somebody enlighten me?
Christer
[a,b] = [c,d] is not allowed
I have to write
a, b = [c,d]
Going deeper
[a, [b, c]] = [1, [2, 3]] is not allowed
I have to write
a, (b, c) = [1, [2, 3]]
I'm sure there is a good reason these constructs are disallowed.
Can somebody enlighten me?
Christer