Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak » !SLIPdial/Resources/UK/Help/ptr

!SLIPdial/Resources/UK/Help/ptr

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-04.adf » !Internet_StarterPak
Filename: !SLIPdial/Resources/UK/Help/ptr
Read OK:
File size: 0115 bytes
Load address: 0000
Exec address: 0000
File contents
ptr /id=<id> [/set=<n>] [<variable>]
 Reads or sets the pointer into the named file.
 Without the "/set" qualifier, returns the file pointer (optionally setting
 the named variable).
 With the /set qualifier, sets the file pointer.
 "/set=eof" sets the pointer to end-of-file.
00000000  70 74 72 20 2f 69 64 3d  3c 69 64 3e 20 5b 2f 73  |ptr /id=<id> [/s|
00000010  65 74 3d 3c 6e 3e 5d 20  5b 3c 76 61 72 69 61 62  |et=<n>] [<variab|
00000020  6c 65 3e 5d 0a 20 52 65  61 64 73 20 6f 72 20 73  |le>]. Reads or s|
00000030  65 74 73 20 74 68 65 20  70 6f 69 6e 74 65 72 20  |ets the pointer |
00000040  69 6e 74 6f 20 74 68 65  20 6e 61 6d 65 64 20 66  |into the named f|
00000050  69 6c 65 2e 0a 20 57 69  74 68 6f 75 74 20 74 68  |ile.. Without th|
00000060  65 20 22 2f 73 65 74 22  20 71 75 61 6c 69 66 69  |e "/set" qualifi|
00000070  65 72 2c 20 72 65 74 75  72 6e 73 20 74 68 65 20  |er, returns the |
00000080  66 69 6c 65 20 70 6f 69  6e 74 65 72 20 28 6f 70  |file pointer (op|
00000090  74 69 6f 6e 61 6c 6c 79  20 73 65 74 74 69 6e 67  |tionally setting|
000000a0  0a 20 74 68 65 20 6e 61  6d 65 64 20 76 61 72 69  |. the named vari|
000000b0  61 62 6c 65 29 2e 0a 20  57 69 74 68 20 74 68 65  |able).. With the|
000000c0  20 2f 73 65 74 20 71 75  61 6c 69 66 69 65 72 2c  | /set qualifier,|
000000d0  20 73 65 74 73 20 74 68  65 20 66 69 6c 65 20 70  | sets the file p|
000000e0  6f 69 6e 74 65 72 2e 0a  20 22 2f 73 65 74 3d 65  |ointer.. "/set=e|
000000f0  6f 66 22 20 73 65 74 73  20 74 68 65 20 70 6f 69  |of" sets the poi|
00000100  6e 74 65 72 20 74 6f 20  65 6e 64 2d 6f 66 2d 66  |nter to end-of-f|
00000110  69 6c 65 2e 0a                                    |ile..|
00000115