Home » Archimedes archive » Acorn User » AU 1993-09.adf » !BasicProg_Basic » Listing2
Listing2
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 » Archimedes archive » Acorn User » AU 1993-09.adf » !BasicProg_Basic |
Filename: | Listing2 |
Read OK: | ✔ |
File size: | 00D4 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >Listing2 20: 30ON ERROR REPORT:PRINT " at line ";ERL/10:END 40number_of_eggs%=7 50PRINT "The value of number_of_eggs% is ";number_of_eggs% 60more_eggs%=number_of_eggs%+1 70PRINT "The value of more_eggs% is ";more_eggs% 80END
� >Listing2 : � � �:� " at line ";�/10:� (number_of_eggs%=7 28� "The value of number_of_eggs% is ";number_of_eggs% < more_eggs%=number_of_eggs%+1 F.� "The value of more_eggs% is ";more_eggs% P� �
00000000 0d 00 0a 0f f4 20 3e 4c 69 73 74 69 6e 67 32 0d |..... >Listing2.| 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 15 6e 75 6d 62 65 72 5f 6f 66 5f |:...(.number_of_| 00000040 65 67 67 73 25 3d 37 0d 00 32 38 f1 20 22 54 68 |eggs%=7..28. "Th| 00000050 65 20 76 61 6c 75 65 20 6f 66 20 6e 75 6d 62 65 |e value of numbe| 00000060 72 5f 6f 66 5f 65 67 67 73 25 20 69 73 20 22 3b |r_of_eggs% is ";| 00000070 6e 75 6d 62 65 72 5f 6f 66 5f 65 67 67 73 25 0d |number_of_eggs%.| 00000080 00 3c 20 6d 6f 72 65 5f 65 67 67 73 25 3d 6e 75 |.< more_eggs%=nu| 00000090 6d 62 65 72 5f 6f 66 5f 65 67 67 73 25 2b 31 0d |mber_of_eggs%+1.| 000000a0 00 46 2e f1 20 22 54 68 65 20 76 61 6c 75 65 20 |.F.. "The value | 000000b0 6f 66 20 6d 6f 72 65 5f 65 67 67 73 25 20 69 73 |of more_eggs% is| 000000c0 20 22 3b 6d 6f 72 65 5f 65 67 67 73 25 0d 00 50 | ";more_eggs%..P| 000000d0 05 e0 0d ff |....| 000000d4