This code runs extremely slow and im wondering how i could make it faster. Also, the second input puts a "*" on it even if the key is the return key or something...how could i fix this too?
CODE:
newUser:
cls
paste image 1,0,0
set text to normal
set text font "Verdana"
set text size 72
ink rgb(100,100,100),0
center text 553,153,"New User"
ink rgb(200,20,20),0
center text 550,150,"New User"
set text size 28
set text to bold
ink rgb(200,200,200),0
center text 330,300,"Username:"
ink rgb(20,20,20),0
box 419,299,771,331
ink rgb(150,150,150),0
box 420,300,770,330
ink rgb(200,200,200),0
center text 330,400,"Password:"
ink rgb(20,20,20),0
box 419,399,771,431
ink rgb(150,150,150),0
box 420,400,770,430
ink rgb(0,0,0),0
clear entry buffer
field=1
do
if field=1
if len(input1$)<=25
input1$=entry$()
else
clear entry buffer
field=2
endif
text 422,302,input1$
if returnkey()=1 and len(input1$)>5
clear entry buffer
field=2
endif
endif
if field=2
if len(input2$)<=25
input2$=entry$()
else
clear entry buffer
endif
inputstar$=""
for x=1 to len(input2$)
inputstar$=inputstar$+"*"
next x
text 422,402,inputstar$
endif
sync
loop
Digitalmodr
Coder_David
[Apolloed ]