Getting out of a conditional loop
RME2000
Posts: 12
I have been working on some code that runs a conditional continuous loop. When the conditional "while constant < value" is no longer met an object call is made, and the object runs. It all works fine, but I can not figure out how to reset the code to get me back to the original code. Right now everything works as I need it to, but I have to manually hit the reset before re-running the system.
I read that "reboot" can do this from the code, but so far I must not be coding it right. Will someone please show me an example, or give me some information on how to do this?
Thanks
I read that "reboot" can do this from the code, but so far I must not be coding it right. Will someone please show me an example, or give me some information on how to do this?
Thanks
Comments
The normal way is to have the conditional loop run inside of a larger loop.