When I type 'if...then gosub' the program editor tells me that there is an error with this line.
This example is from the manual:
main:
if pin0 = 1 then gosub flsh
goto main
flsh: high 1
pause 5000
low 1
return
Even when I copied the example from the manual it did the same thing.
Also it does not recognise pin0 (with a zero not letter o) if I type it or use a pre-written program that comes with the program editor. (which is set on 08M mode).
I just type a 0 (zero) instead of pin0.
But my program needs to use gosub.
Does anyone know what is happening?
This example is from the manual:
main:
if pin0 = 1 then gosub flsh
goto main
flsh: high 1
pause 5000
low 1
return
Even when I copied the example from the manual it did the same thing.
Also it does not recognise pin0 (with a zero not letter o) if I type it or use a pre-written program that comes with the program editor. (which is set on 08M mode).
I just type a 0 (zero) instead of pin0.
But my program needs to use gosub.
Does anyone know what is happening?