set a couple of bools in one line?
in
Programming Questions
•
1 year ago
hello,
Does this work:
- holdUp = holdRight = holdLeft = holdSpace = holdS = false; //should set all to false...
or are we happier with:
- //should set all to false...
- holdUp = false;
- holdRight = false;
- holdLeft = false;
- holdSpace = false;
- holdS = false;
thanks!
Chrisir
1