Quote:
Originally Posted by Switch
He was asking for if he could do it with booleans, as in not an if(){}else{}.
|
If you think about it, if statements are just a form of writing booleans. I can understand something==somethingelse?function:anotherfunction, but if else statements are much easier to read.