I was running the following code in the simulator but it seems to do something funny.
When it gets to line 6, the 'exit' command, instead of exiting the do-loop, it jumps to line 11, the 'pause 200' command.
The programmed picaxe (18X) works as expected.
do
if input2 = 1 then...