On September 24, 2007 at 10:51, tgrugett said...
I am not clear on this. The line that says what to do
if the flag is set IS the first line of a flag test?
No. It's the second line. You tell the thing to do something after it has tested the flag and, I guess, holds the Flag Test result in memory.
You can not have a line asking what to do if the flag
is set unless you have a flag test inserted.
Exactly. You cannot have a line asking what to do if the flag
is set unless you have a Flag Test inserted. Flag Test. Capitalized, because it's one of the choices in the program under Command type: Flag.
This answer sounds like a line from "Who's On First." Or that funny exchange in Rush Hour 3.
What seems dumb to me, but I now just accept, is that you have to do
Flag Operation -- Test flag (and name the flag),
before you put in the Clear Flag, Set Flag, or Toggle Flag operation. I assumed that IF statements would look all on their own to see what the state of the thing is. But nooooooo.