Syntax of multiple variable assignments
Posted: Thu Sep 15, 2022 11:06 am
I just made a mistake because I had not yet fully grasped the syntax of multiple variable assignments. I had
and added an assignment
and overlooked the fact that the 1 is then assigned to a.
Perhaps a warning would help if fewer values are assigned than variables are listed.
Ralf
Code: Select all
Local a, bCode: Select all
Local a, b=1Perhaps a warning would help if fewer values are assigned than variables are listed.
Ralf