C Martin Posted February 11, 2010 Posted February 11, 2010 This has to do with the If condition for programming. I assume that the "Else" commands only happen if the "If" condition is not met. Question: After performing the "Then" statements,does the program just stop and does the program Status return to "False"? If not, this is my Suggestion: Can we have a checkbox on the "Else" section that allows the program to return to the "Else" section of the program after performing the "Then" section? Why: This would allow programmers to set the Program Status back to "False" I use the Program Status as a Flag for other calling programs. Benefit: This would allow me to have one less program to execute this function (and possibly save memory). Clarence
Michel Kohanim Posted February 11, 2010 Posted February 11, 2010 Hi Clarence, The status of the program after executing "then" depends on the condition. So, if the condition is true (say, status of something is off), then the program continues being true. On the other hand, if you used Control as a condition, then the program becomes false once "then" is executed. With kind regards, Michel
C Martin Posted February 11, 2010 Author Posted February 11, 2010 What about the idea of a check box to have the program return to the "Else" statement after performing the "Then" statement. Do you understand my logic for this request? Is there any merit to this? Or, is this modification very difficult to do and may not be worth the time and effort? Thanks, Clarence
Michel Kohanim Posted February 11, 2010 Posted February 11, 2010 Hi Clarence, I do understand your request. I personally think it's a good idea but the real solution would be variables and this might simply cause more problems in the future when we do have variables. With kind regards, Michel
C Martin Posted February 11, 2010 Author Posted February 11, 2010 Are Variables close to being a reality? And if so, any sort of time frame? Thanks, Clarence
Michel Kohanim Posted February 12, 2010 Posted February 12, 2010 Hi Clarence, Yes. First we have to get 2.7.x stable and release it officially. Then we'll work on variables. With kind regards, Michel
rlav Posted February 12, 2010 Posted February 12, 2010 Clarence, I am probably doing something similar to what your are doing and to change the status of the program to False at the end of execution I simply add a "Run Program xxxx (Else Path)" to run itself at the end of the Then. RLav
C Martin Posted February 12, 2010 Author Posted February 12, 2010 Hi RLav, I concur, that is what I do now. I am always thinking how things could be done easier. The idea of not having to remember to write another program is what I'm after. Sometimes you tend to forget turning things off and this might help. Regards, Clarence
Recommended Posts
Archived
This topic is now archived and is closed to further replies.