Code: Select all
if any_integer = 4 or any_integer = 5 or key_left = true or key_right = true then
What is the best solution here? A one-liner would be good.
Code: Select all
if any_integer = 4 or any_integer = 5 or key_left = true or key_right = true then
More efficient (using boolean short-cut operators: AndAlso/OrElse):N3trunn3r wrote:What is the best solution here?