Home » Archimedes archive » Acorn User » AU 1995-06.adf » !C_C » readarray

readarray

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 1995-06.adf » !C_C
Filename: readarray
Read OK:
File size: 07E0 bytes
Load address: 0000
Exec address: 0000
File contents
�����@��EasyC ARM Linker  2.02�D� O���0S�������0S�����_-���_-���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� ����0��@��P����`��V�j�`�e��h��
�jh��V�@�����0�����4����:A�Q�aR�B+��Shared C library not loaded��Shared C library is out of dateD���@����@����D�������p���C����D���������@-���,�������$��P�����@-����@�������p���p�����<C$Dir>.testfileThis program reads numbers from a file and displays them on screen.
Although the program doesn't know how many numbers there are in the file,
the use of the feof() command allows it to keep loading until it reaches
the end of the list.

rSorry - the file %s could not be opened.
%dNumber %d is: %d
File couldn't be closed.

�����-��L�
]�����M�Y���������x�eO�P��O�@����RO�@����O�@�����O�����O������`����O���[	����P�!���O������@����P����@��T��!����O���@��������P�O@������[�
00000000  00 00 a0 e1 00 00 a0 e1  0f 00 00 eb 40 01 00 eb  |............@...|
00000010  11 00 00 ef 45 61 73 79  43 20 41 52 4d 20 4c 69  |....EasyC ARM Li|
00000020  6e 6b 65 72 20 20 00 00  32 2e 30 32 00 00 00 00  |nker  ..2.02....|
00000030  00 00 00 00 e0 87 00 00  44 96 00 00 00 00 00 00  |........D.......|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 20 10 4f e2  |............ .O.|
00000050  0c 00 91 e8 02 30 53 e0  0e f0 b0 d1 00 00 a0 e3  |.....0S.........|
00000060  04 00 82 e4 04 30 53 e2  fc ff ff ca 0e f0 b0 e1  |.....0S.........|
00000070  ff 5f 2d e9 ff 9f fd e8  ff 5f 2d e9 ff 9f fd e8  |._-......_-.....|
00000080  00 f0 a0 e3 00 f0 a0 e3  00 f0 a0 e3 00 f0 a0 e3  |................|
*
00000410  00 f0 a0 e3 00 f0 a0 e3  00 f0 a0 e3 10 00 02 ef  |................|
00000420  01 20 a0 e1 a4 10 9f e5  00 30 e0 e3 00 40 a0 e3  |. .......0...@..|
00000430  00 50 e0 e3 9c 00 8f e2  94 60 9f e5 00 00 56 e3  |.P.......`....V.|
00000440  01 6a a0 03 00 60 96 14  06 65 a0 e1 06 68 a0 e1  |.j...`...e...h..|
00000450  81 06 0a ef 06 00 00 6a  06 68 a0 e1 05 08 56 e3  |.......j.h....V.|
00000460  00 40 a0 a1 98 00 8f a2  00 30 a0 a3 03 ff ff aa  |.@.......0......|
00000470  34 00 8f e2 00 10 90 e4  3a 1d 41 e2 02 15 51 e2  |4.......:.A...Q.|
00000480  7f 10 61 52 00 00 8f 42  2b 00 00 ef 90 0e 80 00  |..aR...B+.......|
00000490  53 68 61 72 65 64 20 43  20 6c 69 62 72 61 72 79  |Shared C library|
000004a0  20 6e 6f 74 20 6c 6f 61  64 65 64 00 91 0e 80 00  | not loaded.....|
000004b0  53 68 61 72 65 64 20 43  20 6c 69 62 72 61 72 79  |Shared C library|
000004c0  20 69 73 20 6f 75 74 20  6f 66 20 64 61 74 65 00  | is out of date.|
000004d0  44 96 00 00 00 00 00 00  01 00 00 00 80 80 00 00  |D...............|
000004e0  40 81 00 00 e0 87 00 00  fc 8a 00 00 02 00 00 00  |@...............|
000004f0  40 81 00 00 1c 84 00 00  fc 8a 00 00 44 96 00 00  |@...........D...|
00000500  ff ff ff ff 80 80 00 00  70 85 00 00 88 85 00 00  |........p.......|
00000510  43 00 00 00 c0 ff ff ea  44 00 9f e5 18 12 1a e5  |C.......D.......|
00000520  01 00 80 e0 01 10 a0 e3  00 10 c0 e4 00 40 2d e9  |.............@-.|
00000530  04 00 8d e2 2c 10 9f e5  06 00 91 e9 13 ff ff eb  |....,...........|
00000540  24 00 9f e5 00 00 50 e3  00 00 8f 12 00 80 fd e8  |$.....P.........|
00000550  00 40 2d e9 d0 fe ff eb  00 40 bd e8 08 10 9f e5  |.@-......@......|
00000560  08 ff ff ea f5 88 00 00  70 85 00 00 ec 86 00 00  |........p.......|
00000570  18 00 00 00 10 85 00 00  70 85 00 00 10 85 00 00  |........p.......|
00000580  18 85 00 00 00 00 00 00  e1 ff ff ea 3c 43 24 44  |............<C$D|
00000590  69 72 3e 2e 74 65 73 74  66 69 6c 65 00 54 68 69  |ir>.testfile.Thi|
000005a0  73 20 70 72 6f 67 72 61  6d 20 72 65 61 64 73 20  |s program reads |
000005b0  6e 75 6d 62 65 72 73 20  66 72 6f 6d 20 61 20 66  |numbers from a f|
000005c0  69 6c 65 20 61 6e 64 20  64 69 73 70 6c 61 79 73  |ile and displays|
000005d0  20 74 68 65 6d 20 6f 6e  20 73 63 72 65 65 6e 2e  | them on screen.|
000005e0  0a 00 41 6c 74 68 6f 75  67 68 20 74 68 65 20 70  |..Although the p|
000005f0  72 6f 67 72 61 6d 20 64  6f 65 73 6e 27 74 20 6b  |rogram doesn't k|
00000600  6e 6f 77 20 68 6f 77 20  6d 61 6e 79 20 6e 75 6d  |now how many num|
00000610  62 65 72 73 20 74 68 65  72 65 20 61 72 65 20 69  |bers there are i|
00000620  6e 20 74 68 65 20 66 69  6c 65 2c 0a 00 74 68 65  |n the file,..the|
00000630  20 75 73 65 20 6f 66 20  74 68 65 20 66 65 6f 66  | use of the feof|
00000640  28 29 20 63 6f 6d 6d 61  6e 64 20 61 6c 6c 6f 77  |() command allow|
00000650  73 20 69 74 20 74 6f 20  6b 65 65 70 20 6c 6f 61  |s it to keep loa|
00000660  64 69 6e 67 20 75 6e 74  69 6c 20 69 74 20 72 65  |ding until it re|
00000670  61 63 68 65 73 0a 00 74  68 65 20 65 6e 64 20 6f  |aches..the end o|
00000680  66 20 74 68 65 20 6c 69  73 74 2e 0a 0a 00 72 00  |f the list....r.|
00000690  53 6f 72 72 79 20 2d 20  74 68 65 20 66 69 6c 65  |Sorry - the file|
000006a0  20 25 73 20 63 6f 75 6c  64 20 6e 6f 74 20 62 65  | %s could not be|
000006b0  20 6f 70 65 6e 65 64 2e  0a 00 25 64 00 4e 75 6d  | opened...%d.Num|
000006c0  62 65 72 20 25 64 20 69  73 3a 20 25 64 0a 00 46  |ber %d is: %d..F|
000006d0  69 6c 65 20 63 6f 75 6c  64 6e 27 74 20 62 65 20  |ile couldn't be |
000006e0  63 6c 6f 73 65 64 2e 0a  00 00 00 00 0d c0 a0 e1  |closed..........|
000006f0  f0 d8 2d e9 04 b0 4c e2  0a 00 5d e1 93 fe ff bb  |..-...L...].....|
00000700  c8 d0 4d e2 59 fe ff eb  04 00 9f e5 d2 fe ff eb  |..M.Y...........|
00000710  00 00 00 ea 78 80 00 00  65 7f 4f e2 00 50 a0 e3  |....x...e.O..P..|
00000720  8b 00 4f e2 01 0c 40 e2  df fe ff eb 52 00 4f e2  |..O...@.....R.O.|
00000730  01 0c 40 e2 dc fe ff eb  13 00 4f e2 01 0c 40 e2  |..@.......O...@.|
00000740  d9 fe ff eb d5 00 4f e2  d7 fe ff eb c6 10 4f e2  |......O.......O.|
00000750  07 00 a0 e1 d0 fe ff eb  00 60 b0 e1 07 10 a0 01  |.........`......|
00000760  d8 00 4f 02 d0 fe ff 0b  f0 a8 5b 09 06 00 a0 e1  |..O.......[.....|
00000770  ec fe ff eb 00 00 50 e3  07 00 00 1a 05 21 8d e0  |......P......!..|
00000780  ce 10 4f e2 06 00 a0 e1  cb fe ff eb 00 40 b0 e1  |..O..........@..|
00000790  f5 ff ff da 01 50 85 e2  f3 ff ff ea 00 40 a0 e3  |.....P.......@..|
000007a0  05 00 54 e1 05 00 00 aa  04 21 9d e7 01 10 84 e2  |..T......!......|
000007b0  fb 00 4f e2 bc fe ff eb  01 40 84 e2 f7 ff ff ea  |..O......@......|
000007c0  06 00 a0 e1 b2 fe ff eb  00 00 50 e3 05 00 4f 12  |..........P...O.|
000007d0  01 0c 40 12 b4 fe ff 1b  00 00 a0 e3 f0 a8 5b e9  |..@...........[.|
000007e0