home *** CD-ROM | disk | FTP | other *** search
- 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
-