PDA

View Full Version : Hello all question



Badger
08-24-2008, 06:08 AM
hey

is there anyone here remember the old inkey$ statement in the old basic. i was wondering is there thing or a way to write code to be able to do this.. I find it rather time consuming to type end and rerun my program each time i want it to stop.. i would like to set up something like this written in the old basic way.

10 let x = inkey$
20 x = ""
30 print "this is a old basic program"
40 if x <> "" then end
50 goto 30

well if that would work in basic i can hardly remember but i think you get the idea

Badger

PJ Allen
08-24-2008, 06:52 AM
Use DEBUGIN for keyboard input. [And that's your cue to study DEBUGIN in PBASIC Help.]