Quote:
Originally posted by ttedrow
I've noticed that there have been a lot of downloads but no comments. Has anyone try this program on a real bot yet?
Please let me know how it work.
|
I fell your pain. Over 324 downloads from my website (not even counting ChiefDelphi), and only a handful of comments in return...
Anyway, I took a look at your code, but couldn't get it to work. From what I can tell, it will never reach the serout command because of the "run 1" command. Unfortunately, there is no way to "return" from a run, so doing "run 0" in the second slot will only cause program 0 to start over again from the very beginning. Honestly, I think you'd probably be better off using gosub/return than "run" as I think it does more what you were intending.
As always, when in doubt, try running it through RoboEmu as it supports both run and gosub.
--Rob