Hi Jen
Yes, my code was just intended to show how the various forms of the FOR loop will behave. Note that STEP can be any value, positive or negative (it's one of the few cases where the PE/Compiler "understands" a negative number).
SERTXD sends whatever is written within the brackets (numbers and/or text strings) to the "Terminal Emulator". The TE (window) can be arranged to open automatically after a program is downloaded, or manually (PICAXE : Terminal , pull-down menu). It's similar to DEBUG, but faster, and allows you to choose just the data values that you're trying to follow/analyse. So the window could show a "list" of the values (which might be) sent to control a servo.
Cheers, Alan.
Yes, my code was just intended to show how the various forms of the FOR loop will behave. Note that STEP can be any value, positive or negative (it's one of the few cases where the PE/Compiler "understands" a negative number).
SERTXD sends whatever is written within the brackets (numbers and/or text strings) to the "Terminal Emulator". The TE (window) can be arranged to open automatically after a program is downloaded, or manually (PICAXE : Terminal , pull-down menu). It's similar to DEBUG, but faster, and allows you to choose just the data values that you're trying to follow/analyse. So the window could show a "list" of the values (which might be) sent to control a servo.
Cheers, Alan.