Hey, I was shortening a Basic program the other day and I was wondering whether you could perhaps use parentheses (or something like it?) in If statements to preserve memory.
Example:
If A=B and (A=C or A=D)
Commands
In this scenario the statement would always need A to equal B to run, but also needs at least one of the parameters in the parentheses to be true as well. Nesting this sort of If statement could exponentially decrease memory usage. Is this at all possible, or is there another way to do this? Or am I being completely oblivious to something obvious?
Thanks.
Example:
If A=B and (A=C or A=D)
Commands
In this scenario the statement would always need A to equal B to run, but also needs at least one of the parameters in the parentheses to be true as well. Nesting this sort of If statement could exponentially decrease memory usage. Is this at all possible, or is there another way to do this? Or am I being completely oblivious to something obvious?
Thanks.