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 27 made on Tuesday September 25, 2007 at 23:58
Ernie Bornn-Gilman
Yes, That Ernie!
Joined:
Posts:
December 2001
30,104
On September 25, 2007 at 08:26, imt said...
I don't understand what you are saying. The flag test
option is an IF/THEN/ELSE statement. You can't do a flag
test to determine state and then do a separate IF/THE/ELSE
statement.

You're right. I'm dead wrong. I was remembering that something didn't make sense about the process, and I remembered it wrong. So it's my turn to be an idiot.
The flag test is

IF yourflagname is SET then do the following operation

ELSE (IF NOT SET) THEN DO THIS OPERATION

END or _____________________________________

Yuppers. It sure is. It's exactly what I was claiming was two commands.

The part that I had a hard time with is that Flag Test not only checks the flags, but then also does an operation based on the status of the flag. Somehow when I started I thought that "test" didn't also mean "act on the result of the test."

On September 25, 2007 at 12:35, tgrugett said...
Classic... I knew somehow as I was typing the words ..."my
...logic is flawless" that I may end up regretting it.
:)

That's why I rarely type those words, but whatever I write just oozes with the concept that I'm right, because I believe in it. Too bad I chose to believe the wrong thing this time.
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