Your Universal Remote Control Center
RemoteCentral.com
RTI Control Systems Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 16 made on Monday September 24, 2007 at 22:28
Ernie Bornn-Gilman
Yes, That Ernie!
Joined:
Posts:
December 2001
30,104
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.
A good answer is easier with a clear question giving the make and model of everything.
"The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw


Hosting Services by ipHouse