S SimonSmith Member Jul 2, 2016 #1 void a,b; a=b=1; log("a="+a+"\n"); log("b="+b+"\n"); Results: a=1 b=<VT EMPTY> Please fix this bug...
void a,b; a=b=1; log("a="+a+"\n"); log("b="+b+"\n"); Results: a=1 b=<VT EMPTY> Please fix this bug...
Piccolo Well-known member Jul 3, 2016 #2 It's a bug only if you assume that it has the "conventional" behavior you are imagining. Sure it might be convenient, but this is no big deal, you can work around it using multiple lines isn't it ?
It's a bug only if you assume that it has the "conventional" behavior you are imagining. Sure it might be convenient, but this is no big deal, you can work around it using multiple lines isn't it ?
S SimonSmith Member Jul 3, 2016 #4 Yes, it isn't much. I just feel a little bit unused to the absence of multiple assignment.