EasyManua.ls Logo

Sharp MZ-700 - Loop and Branch Instructions

Sharp MZ-700
109 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
46
ROPEN # (read open)
Opens
the
BSO
file for read-out.
Format:
ROPEN
# <logical
number>,
"[<device
name>:]
<
filename>
"
Note: Only
FDn,
CMT,
or
RSn device name.
Abbreviated form:
RO.#
Explanation:
Opens
the file so
that
filed
data
can be
read
out.
The
ROPEN
#
statement
has an
order
for
data
read-out; it specifies the file to be
read
out,
specifying by
<device
name>
and
<filename>.
When the
<device
name>
is
omitted,
the device designated by the
DEFAULT
statement
is
specified.
When"
RS
J 1 \
:"
is
specified, input
is
specified
to
RS-232C.
\21
Examples:
10
ROPEN
#1,
"FD1:DATA"
.....
The floppy disk's (drive
number
1)
BSD
file
"DATA"
is
read out.
1 0 ROPEN
# 1
,
ftSl:
I
.....
The
input by
INPUT
commane
is set
to
RS-232C.
1 0 ROPEN
#2,
"DATA"
20
FOR I
=1
TO
99
30
I
NP
UT
#2,
A
40
PR
I
NT
A
50
NEXT I
60
CLOSE
#2
70
END
.....
The
file made by
WOPEN
#
command
is
read
out
and
data
are displayed.
References:
INPUT
# (page 47)
WOPEN
# (page 48)
CLOSE
# (page 53)
EOF(#)
(page 56)

Other manuals for Sharp MZ-700

Related product manuals