ercotronic
Member
Hi all,
I've just tried program the if....then gosub statement and the compiler keeps throwing up an error in that line of code. May be missing something simple can anyone help?. The code is:
loop:
if pin1 = 1 then gosub t1
gosub t2
goto loop
end
t1:
return
t2:
return
Â
I've just tried program the if....then gosub statement and the compiler keeps throwing up an error in that line of code. May be missing something simple can anyone help?. The code is:
loop:
if pin1 = 1 then gosub t1
gosub t2
goto loop
end
t1:
return
t2:
return
Â