Sharp MZ-700 Bedienungshandbuch Seite 57

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 109
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 56
56
EOF
(#)
(end of file)
Function
to
locate end of data file data.
Format:
EOF
(#
<logical
number»
Abbreviated form:
EO.(#
Explanation:
The function used to determine the end
of
the data for file read-out.
When read-out continues after the end
of
data in the data file, there is no error
generation, and
0
or
null ("
")
is provided as the data value.
Error
is
generated, however, when
data
are read out from CMT.
This function
is
used in combination with the IF statement and placed after each
INPUT statement.
Example
10
ROPEN
#3,"
DATA"
20
I
NPUT#3,A
30
IF
EOF(
#3)
THEN
END
40
PR
I
NT
A
50
GOTO
20
..... With this program data are read-out in sequence from the
"DATA"
file and are
displayed on the screen.
And,
if the read-out data are out of file, this process
should be end.
Seitenansicht 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 108 109

Kommentare zu diesen Handbüchern

Keine Kommentare