The PE syntax check should detect problems such as this;
serout TX, baud, ("Runmins,",runmins,CR,LF)
In this case the intention was to print out on the terminal from an 28X2 the value of the word variable runmins, and I missed out the #.
No big deal, and my error, but the omission of the # caused the PICAXE to crash, in that it reset itself and started the main program again. Not every time mind, maybe once in every 2 - 5 runs of that bit of code.
Or is that behavior a known 'feature' ?
serout TX, baud, ("Runmins,",runmins,CR,LF)
In this case the intention was to print out on the terminal from an 28X2 the value of the word variable runmins, and I missed out the #.
No big deal, and my error, but the omission of the # caused the PICAXE to crash, in that it reset itself and started the main program again. Not every time mind, maybe once in every 2 - 5 runs of that bit of code.
Or is that behavior a known 'feature' ?