Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf » !BasicProg_BasicProg » Listing3
Listing3
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf » !BasicProg_BasicProg |
Filename: | Listing3 |
Read OK: | ✔ |
File size: | 00E4 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >Listing3 20: 30ON ERROR REPORT:PRINT " at line ";ERL/10:END 40MODE 0 50: 60count%=0 70REPEAT 80 count%=count%+1 90 INPUT "What is your password? "pword$ 100UNTIL pword$="AU" OR count%=3 110IF count%=3 PRINT "Access denied" ELSE PRINT "Password accepted" 120END
� >Listing3 : � � �:� " at line ";�/10:� (� 0 2: <count%=0 F� P count%=count%+1 Z& � "What is your password? "pword$ d� pword$="AU" � count%=3 n8� count%=3 � "Access denied" � � "Password accepted" x� �
00000000 0d 00 0a 0f f4 20 3e 4c 69 73 74 69 6e 67 33 0d |..... >Listing3.| 00000010 00 14 05 3a 0d 00 1e 1e ee 20 85 20 f6 3a f1 20 |...:..... . .:. | 00000020 22 20 61 74 20 6c 69 6e 65 20 22 3b 9e 2f 31 30 |" at line ";./10| 00000030 3a e0 0d 00 28 07 eb 20 30 0d 00 32 05 3a 0d 00 |:...(.. 0..2.:..| 00000040 3c 0c 63 6f 75 6e 74 25 3d 30 0d 00 46 05 f5 0d |<.count%=0..F...| 00000050 00 50 14 20 63 6f 75 6e 74 25 3d 63 6f 75 6e 74 |.P. count%=count| 00000060 25 2b 31 0d 00 5a 26 20 e8 20 22 57 68 61 74 20 |%+1..Z& . "What | 00000070 69 73 20 79 6f 75 72 20 70 61 73 73 77 6f 72 64 |is your password| 00000080 3f 20 22 70 77 6f 72 64 24 0d 00 64 1c fd 20 70 |? "pword$..d.. p| 00000090 77 6f 72 64 24 3d 22 41 55 22 20 84 20 63 6f 75 |word$="AU" . cou| 000000a0 6e 74 25 3d 33 0d 00 6e 38 e7 20 63 6f 75 6e 74 |nt%=3..n8. count| 000000b0 25 3d 33 20 f1 20 22 41 63 63 65 73 73 20 64 65 |%=3 . "Access de| 000000c0 6e 69 65 64 22 20 8b 20 f1 20 22 50 61 73 73 77 |nied" . . "Passw| 000000d0 6f 72 64 20 61 63 63 65 70 74 65 64 22 0d 00 78 |ord accepted"..x| 000000e0 05 e0 0d ff |....| 000000e4