nxtbasic : starts automatically without pressing a button.
Posted: Mon Jul 29, 2024 7:44 am
hello, good day.
it starts automatically without pressing a button?
why.
thanks.
greetings
------------------------
SCREEN 128
StartEdit:
Loop:
Key$=GET
if Key$="D" then g = 129 : test()
Goto loop
end
sub test()
print "HALLO"
end sub
--------------------------
---------------------------
SCREEN 128
StartEdit:
Loop:
Key$=GET
if Key$="D" then g = 129 : gosub test
Goto loop
end
test:
print "HALLO"
return
---------------------------
it starts automatically without pressing a button?
why.
thanks.
greetings
------------------------
SCREEN 128
StartEdit:
Loop:
Key$=GET
if Key$="D" then g = 129 : test()
Goto loop
end
sub test()
print "HALLO"
end sub
--------------------------
---------------------------
SCREEN 128
StartEdit:
Loop:
Key$=GET
if Key$="D" then g = 129 : gosub test
Goto loop
end
test:
print "HALLO"
return
---------------------------