There this bit of code I am trying to find the keystate number for backspace key then the backspace part will work right.
sync on : sync rate 0 :
color backdrop rgb(0,0,128) :rem hide mouse
set text font "arial" : set text size 12 : set text transparent
do
gosub keyinput
sync
loop
keyinput:
temp$=""
temp1$=""
repeat
temp$=entry$()
if temp$>="a" and temp$<="z" then temp$=upper$(temp$)
if temp$>=" " and temp$<="Z" and len(temp1$)<20 then temp1$=temp1$
set cursor 10,10
print "enter something : ";temp$;
rem the line below is a backspace
if temp$=chr$(127) and len(temp1$)>0 then temp1$=left$(temp1$,len(temp1$)-1)
set cursor 10,10
print "enter something : ";temp$
sync
until returnkey() and len(temp1$)>0
return
see what you think.
In Space No One can Hear You Scream! (When your comm Line is cut?)