Home » Archimedes archive » Acorn User » AU 1993-10.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-10.adf » !BasicProg_Basic
Filename: Listing2
Read OK:
File size: 0187 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM >Listing2
   20:
   30ON ERROR REPORT:PRINT " at line ";ERL/10:END
   40MODE 0
   50:
   60INPUT var
   70PRINT "You typed: ";var
   80:
   90INPUT "Give me a number " var
  100PRINT "You typed: ";var
  110:
  120INPUT "Give me a string " var$
  130PRINT "You typed: ";var$
  140:
  150INPUT "Question mark",var$
  160INPUT "No question mark " var$
  170INPUT TAB(17,15);"Middle of screen " var$
  180INPUT "Lots of variables " var1,var2,var3
  190PRINT "Values: ";var1;" ";var2;" ";var3

� >Listing2
:
� � �:� " at line ";�/10:�
(� 0
2:
<	� var
F� "You typed: ";var
P:
Z� "Give me a number " var
d� "You typed: ";var
n:
x� "Give me a string " var$
�� "You typed: ";var$
�:
�� "Question mark",var$
�� "No question mark " var$
�&� �17,15);"Middle of screen " var$
�)� "Lots of variables " var1,var2,var3
�'� "Values: ";var1;" ";var2;" ";var3
�
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 07 eb 20  30 0d 00 32 05 3a 0d 00  |:...(.. 0..2.:..|
00000040  3c 09 e8 20 76 61 72 0d  00 46 17 f1 20 22 59 6f  |<.. var..F.. "Yo|
00000050  75 20 74 79 70 65 64 3a  20 22 3b 76 61 72 0d 00  |u typed: ";var..|
00000060  50 05 3a 0d 00 5a 1d e8  20 22 47 69 76 65 20 6d  |P.:..Z.. "Give m|
00000070  65 20 61 20 6e 75 6d 62  65 72 20 22 20 76 61 72  |e a number " var|
00000080  0d 00 64 17 f1 20 22 59  6f 75 20 74 79 70 65 64  |..d.. "You typed|
00000090  3a 20 22 3b 76 61 72 0d  00 6e 05 3a 0d 00 78 1e  |: ";var..n.:..x.|
000000a0  e8 20 22 47 69 76 65 20  6d 65 20 61 20 73 74 72  |. "Give me a str|
000000b0  69 6e 67 20 22 20 76 61  72 24 0d 00 82 18 f1 20  |ing " var$..... |
000000c0  22 59 6f 75 20 74 79 70  65 64 3a 20 22 3b 76 61  |"You typed: ";va|
000000d0  72 24 0d 00 8c 05 3a 0d  00 96 1a e8 20 22 51 75  |r$....:..... "Qu|
000000e0  65 73 74 69 6f 6e 20 6d  61 72 6b 22 2c 76 61 72  |estion mark",var|
000000f0  24 0d 00 a0 1e e8 20 22  4e 6f 20 71 75 65 73 74  |$..... "No quest|
00000100  69 6f 6e 20 6d 61 72 6b  20 22 20 76 61 72 24 0d  |ion mark " var$.|
00000110  00 aa 26 e8 20 8a 31 37  2c 31 35 29 3b 22 4d 69  |..&. .17,15);"Mi|
00000120  64 64 6c 65 20 6f 66 20  73 63 72 65 65 6e 20 22  |ddle of screen "|
00000130  20 76 61 72 24 0d 00 b4  29 e8 20 22 4c 6f 74 73  | var$...). "Lots|
00000140  20 6f 66 20 76 61 72 69  61 62 6c 65 73 20 22 20  | of variables " |
00000150  76 61 72 31 2c 76 61 72  32 2c 76 61 72 33 0d 00  |var1,var2,var3..|
00000160  be 27 f1 20 22 56 61 6c  75 65 73 3a 20 22 3b 76  |.'. "Values: ";v|
00000170  61 72 31 3b 22 20 22 3b  76 61 72 32 3b 22 20 22  |ar1;" ";var2;" "|
00000180  3b 76 61 72 33 0d ff                              |;var3..|
00000187