home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 7
/
007.d81
/
read
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
349b
|
24 lines
10 open15,8,15
20 open2,8,2,"#"
30 print:print:print
35 p$="":a$=""
40 print"what is the pass-word?"
50 input a$
55 print:print:print
60 :
70 tr=10 : se=15
80 :
90 print#15,"u1:"2;0;tr;se
100 :
110 forx=1to50:get#2,c$
120 ifc$=chr$(13)thenx=51:goto140
130 p$=p$+c$
140 next
150 :
180 ifp$=a$thenprint"you are allowed access!!":goto200
185 :
190 print"invalid password....try again.":goto30
200 :
210 close2:close15
220 end