EasyManua.ls Logo

Sharp MZ-700 - Color Plotter-Printer Commands

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...
86
5.1.3 BSD (BASIC Sequential Access, Data File) Control Statements
Note: For
file
descriptors
FD
and CMT
WOPEN #
WOPEN
#3
"FD2:S Opens the file for write-in so that one BASIC sequential
PRINT #
CLOSE #
KILL #
ROPEN #
INPUT #
EO
DATA
1" access file (BSD) can be made. In other words, it defines
the filename
of
the BSD being made as "SEQ
DATAl",
and opens,
as
logical number 3, a file
in
floppy disk drive
number
2.
PRINT
#3.
A.
AS
Writes in, in order, the content of variable A and string
variable
AS
on BSD; a file opened in logical number 3
by
the WOPEN # statement.
File close is executed by the
CLOSE # statement, and
BSD
is
formally registered as one BSD.
CLOSE
#3
Closes the BSD, the file opened in logical number 3 by
(Corresponding to the
WOPEN # statement.
WOPEN#)
KILL
#3
By closing the file, one BSD with the file name specified
by the WOPEN # statement
is
made on the specified
floppy disk, and the logical number
(3
in this instance)
becomes undefined once more.
Kills the BSD, the file opened
in
logical number 3 by the
WOPEN # statement. In other words, it cancels
or
erases
the BSD, and the logical number
(3
in this instance)
becomes undefined once more.
ROPEN
#4.
n
FD2:
SE
Opens the file for read-out of the data in the BASIC
o DATA2· sequential access data
file
(BSD). In other words, it
opens,
as
logical number
4,
the BSD file "SEQ DATA2"
in volume number 7 of the floppy disk in floppy disk drive
number
2.
INPUT
#4.
A(1).
BS
Reads out sequential data from the BSD, a file opened in
logical number 4 by the ROPEN # statement, and
substitutes numerical data in array variable
A(
1)
and
string in string variable B$.
Read-in data are sequentia,lIy accessed from the BSD
heading data.

Other manuals for Sharp MZ-700

Related product manuals