Sub-Routine Posted October 25, 2007 Posted October 25, 2007 While editing a program: When I move a line up or down And changes to Or and vice versa. When a line is highlighted FastOn changes to On in the editing window. After the program is saved I don't see the same affects. Original program: If Control 'Patio' is switched Fast On Then Set Scene 'Outside Lights' On Set Scene 'Indoor Lights' On Set 'Patio' Fast On Set 'Sidewalk Flood' Fast On Set 'Driveway' Fast On Else - No Actions - (To add one, press 'Action') New line added: If Control 'Patio' is switched Fast On Or Control 'Patio' is switched On Then Set Scene 'Outside Lights' On Set Scene 'Indoor Lights' On Set 'Patio' Fast On Set 'Sidewalk Flood' Fast On Set 'Driveway' Fast On Else - No Actions - (To add one, press 'Action') Lines exchanged, Or changes to And, and visa versa: If Control 'Patio' is switched On And Control 'Patio' is switched Fast On Then Set Scene 'Outside Lights' On Set Scene 'Indoor Lights' On Set 'Patio' Fast On Set 'Sidewalk Flood' Fast On Set 'Driveway' Fast On Else - No Actions - (To add one, press 'Action') After selecting the line to correct the And/Or FastOn is changed to On. I don't see this with other commands. If Control 'Patio' is switched On Or Control 'Patio' is switched On Then Set Scene 'Outside Lights' On Set Scene 'Indoor Lights' On Set 'Patio' Fast On Set 'Sidewalk Flood' Fast On Set 'Driveway' Fast On Else - No Actions - (To add one, press 'Action') Rand --- ATF? A man can always use more alcohol, tobacco and firearms. Quote
Sub-Routine Posted October 25, 2007 Author Posted October 25, 2007 Shoot, I meant to compliment you guys about how difficult it is becoming to find errors Rand Quote
Chris Jahn Posted October 25, 2007 Posted October 25, 2007 Rand, I followed your basic steps (and a few variations) but cannot reproduce this problem. Can you give me an exact sequence of things to do to make this happen? Quote
Sub-Routine Posted October 25, 2007 Author Posted October 25, 2007 Chris, If you create and save the original program I displayed, and then try to add an If 'Or control X is switched on' I hope you will see the error. I had created a trigger based on FastOn and wanted to add an Or On condition based on the same switch as the FastOn. So my roommates wouldn't have to remember twice quickly. And then I wanted to move the If On above the If FastOn. Does that make sense? It may be that you have to create and save and quit and possibly restart the Console. Then attempt the changes I suggest. Rand Quote
Chris Jahn Posted October 25, 2007 Posted October 25, 2007 Thanks Rand, 1) And/Or The And/Or swapping looks odd, but is working correctly. An And/Or is assigned to each line as you add it. If its the first entry, or the first entry after an open parentheses then it is not shown because it is not used. When you move the line down, it then appears because it is used. In other words, you see: If Control 'Patio' is switched Fast On Or Control 'Patio' is switched On Then But its the same as: If And Control 'Patio' is switched Fast On Or Control 'Patio' is switched On Then Swap the lines: If Or Control 'Patio' is switched On And Control 'Patio' is switched Fast On Then You see: If Control 'Patio' is switched On And Control 'Patio' is switched Fast On Then 2) Fast On changed to On I tried doing this for awhile, and managed one time to get it to do this by some random combination of what you mentioned. I can't reliably reproduce it, but I'll see if I can make a fix for it. It took me so long to reproduce this, I'm surprised you found it in the first place. Quote
Mark Sanctuary Posted October 25, 2007 Posted October 25, 2007 Rand, Ok its time to get out FRAPs (FRAPs may only work with DirectX programs) or some screen recorder and record the screen as you do this so there is a movie of whats going on. Quote
Chris Jahn Posted October 25, 2007 Posted October 25, 2007 I found a way to reproduce this problem consistently, and have fixed the problem. Quote
Sub-Routine Posted October 25, 2007 Author Posted October 25, 2007 Thanks Rand, 2) Fast On changed to On I tried doing this for awhile, and managed one time to get it to do this by some random combination of what you mentioned. I can't reliably reproduce it, but I'll see if I can make a fix for it. It took me so long to reproduce this, I'm surprised you found it in the first place. Oh, you know me Quote
Sub-Routine Posted October 25, 2007 Author Posted October 25, 2007 I found a way to reproduce this problem consistently, and have fixed the problem. Good Job! Sorry I wasn't here to help. I hope you didn't stay up all night Quote
Sub-Routine Posted October 25, 2007 Author Posted October 25, 2007 Thanks Rand, 1) And/Or The And/Or swapping looks odd, but is working correctly. An And/Or is assigned to each line as you add it. If its the first entry, or the first entry after an open parentheses then it is not shown because it is not used. When you move the line down, it then appears because it is used. In other words, you see: If Control 'Patio' is switched Fast On Or Control 'Patio' is switched On Then But its the same as: If And Control 'Patio' is switched Fast On Or Control 'Patio' is switched On Then Swap the lines: If Or Control 'Patio' is switched On And Control 'Patio' is switched Fast On Then You see: If Control 'Patio' is switched On And Control 'Patio' is switched Fast On Then . While editing a program: When I move a line up or down And changes to Or and vice versa. When a line is highlighted FastOn changes to On in the editing window. After the program is saved I don't see the same affects. After I Saved that program exchanging lines keeps the And/Or as set for the second line. I prefer that method. I thought that as I was editing that I had set both lines to Or and watched them toggle as I exchanged them. Now I can't reproduce it Well, I'll keep trying Thank you for your time, Rand Quote
Chris Jahn Posted October 25, 2007 Posted October 25, 2007 Thanks Rand, I didn't stay up all night; fortunately when I tried it again this morning I found a way to reproduce the problem. As for the 'And/Or', I could not reproduce the problem, so please let me know if it happens again. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.