HP 82718A Expansion Pod Reference Manual page 75

For use with the hp-75
Hide thumbs Also See for HP 82718A Expansion Pod:
Table of Contents

Advertisement

Keyword Dictionary
READ
#
electronic disc
statement
F.:EAD # file number
[~line
number]
F.:EAD # file
number~
line number
read list
READ #
1~1000
; S$
Reads data from an electronic disc file and assigns the data to the variables in the
read list.
If
the
read list
is omitted, positions the data pointer to the beginning of the specified line .
• In certain instances when
F.:EAD #
generates an error condition on an electronic disc file, the data
pointer will be positioned to the wrong line. For example, suppose
F.:EAD #
1,
t·~
;
::.:: produces
E F.: F.:
0
F.: : no
dat..~
because
t·~
is an invalid
line number
for the specified electronic disc file.
The next random
F.:EAD #
of that file (i. e., no
line number,
as in
F.:EAD # 1 ;
~·O
will read
the first item on the first line of the file. If this same operation were done on a file in HP-75
main memory, the random
F.:EAD #
would read the first item on the line after the invalid
line
number.
Rather than relying on the data pointer after an error occurs, use
F.:ESTOF.:E #
to
position the data pointer to the desired location .
• Refer to the
HP-75 Owner's Manual
and the
HP-75 Reference Manual
for further information
With the above exception, everything that applies to the use and behavior of
READ
#
in main
memory applies to the electronic disc as well.
Errors: 16,33,34,45,62,65,90,212
READY?
high-level modem
function
F.:EAD\·?
100 IF READY? THEN MODOUT OS ELSE 100
Checks to see if the modem transmit buffer is ready to accept data from the HP-75. Returns a 0 if
modem is not ready for data, or a 1 if the modem is ready for data.
F.:EAD .... ·?
therefore identifies modem
deadlock (see "Modem Deadlock" in Section 2).
Errors: 1 50, 1 5 I, 1 53
REMOVE
electronic disc
statement
F.:Et·10'·/E "pathname: >::t'lEt'l"
See below for examples.
F.:Et·lO'· . . . E
behaves like
PUF.:GE
except that you are asked specifically whether each file should be deleted.
For example, if the file
DO~·mLOAD
is to be purged, the message
PI"W'de
DOW·~LOAD?
[t·~ ~
.....
~ ATTt·~]
will appear. If you press
[y]
or [Y], the word
'/es
will be echoed and the file will
be
74
F
F
E

Advertisement

Table of Contents
loading

Table of Contents