Posted: 24th Jun 2003 18:10
here is a code snippet that i made for a dude so he didn't have to use input (even though i think input is easier)

+ Code Snippet
if inkey$()="a" then print "a"
if inkey$()="b" then print "b"
if inkey$()="c" then print "c"
if inkey$()="d" then print "d"
if inkey$()="e" then print "e"
if inkey$()="f" then print "f"
if inkey$()="g" then print "g"
if inkey$()="h" then print "h"
if inkey$()="i" then print "i"
if inkey$()="j" then print "j"
if inkey$()="k" then print "k"
if inkey$()="l" then print "l"
if inkey$()="m" then print "m"
if inkey$()="n" then print "n"
if inkey$()="o" then print "o"
if inkey$()="p" then print "p"
if inkey$()="q" then print "q"
if inkey$()="r" then print "r"
if inkey$()="s" then print "s"
if inkey$()="t" then print "t"
if inkey$()="u" then print "u"
if inkey$()="v" then print "v"
if inkey$()="w" then print "w"
if inkey$()="x" then print "x"
if inkey$()="y" then print "y"
if inkey$()="z" then print "z"
if spacekey()=1 then print " "


enjoy!
Posted: 24th Jun 2003 18:40
um...i hate to say this mattman when i get home ill post the one i did it works better.

I DONT MEAN TO BE A FLAME HERE I APOLOGIZE IF IS OUND LIKE IT
Posted: 24th Jun 2003 19:14
ya, i know it stinks. i might edit it if i'm bored, but this was just a starter thing for peeps to expand on. no hard feelins ed.
Posted: 24th Jun 2003 19:40
Um... Couldn't you just do Print Inkey$()? You don't need to tell it what letter to print because inkey$() already contains that letter.
Posted: 24th Jun 2003 19:57
is that in dbc?
Posted: 24th Jun 2003 20:33
yup have a look at the text box post where i did what andrew11 said
Posted: 20th Jul 2003 3:58
And you might want the program to wait until you type zero or something so it doesnt end right away...