Chris Jahn Posted November 1, 2007 Posted November 1, 2007 This is fixed in Release 2.4.13 --------------------------------- For Release 2.4.12 and earlier Please do not use Repeat 0 times as this may hang your ISY. If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat 0 times Else - No Actions - (To add one, press 'Action') Quote
Mark Sanctuary Posted November 2, 2007 Posted November 2, 2007 Chris, I still see the '0' as an option in the spinbox widget for repeat; is this correct? Rand, Please test this to see if it is now fixed in the new beta 2.4.13 release because I don't want to lock my box up. Mark Quote
Chris Jahn Posted November 2, 2007 Author Posted November 2, 2007 Repeat 0 is supported and is now working correctly (i.e. if you use 0 it basically ignores all actions to the end or up to the next repeat). This is useful if you want to temporarily "comment out" some actions without deleting them. Quote
Mark Sanctuary Posted November 2, 2007 Posted November 2, 2007 Repeat 0 == Comment Hum ok that makes since...sort of...not really. Why not just make it named Comment or something that is easier to understand? Maybe alias it in the java: function Comment (args) { Repeat 0 (args) } Quote
Sub-Routine Posted November 2, 2007 Posted November 2, 2007 Chris,I still see the '0' as an option in the spinbox widget for repeat; is this correct? Rand, Please test this to see if it is now fixed in the new beta 2.4.13 release because I don't want to lock my box up. Mark Okay, I will, but a bit later Repeat 0 could be used to comment out blocks of commands in a loop. That isn't what I intended when I did it though Remember, I am the guy that discovered On Never, I now have a folder with that condition to build and test programs I still desire some way to comment lines out of a program. There could be another button next to Remove Line, a toggle Comment Line. To test various lines when a program doesn't work as expected. Rand Quote
Chris Jahn Posted November 3, 2007 Author Posted November 3, 2007 Mark, Repeat 0 is supported because its just as easy to allow it as not. We currently do not support commenting out code in a program, that is why I mentioned using Repeat 0 to simulate it. 'Repeat X times' means run the following actions (up to the end or up to then next Repeat) X times. For 'Repeat 0' this means run them 0 times. Quote
Sub-Routine Posted November 3, 2007 Posted November 3, 2007 Okay, I tested it and Repeat 0 times is now a valid function! So is Repeat Every 0 seconds. Now I'm going to have too root around a bit harder to break something Thank you, Rand 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.