Sharp MZ-700 Basic Manual page 83

Disk basic interpreter
Hide thumbs Also See for MZ-700:
Table of Contents

Advertisement

RENAME
DELETE
CHAIN
SWAP
85
RENAME· FD1 :A.B • Changes file name of file "A" in floppy disk drive number
1 to filename "B".
DELETE HA"
Deletes file "A" from disk in default drive.
CHAIN "FD1 :TEXT Chains program execution to BASIC text "TEXT B" in
BH
floppy disk. In other words, "TEXT B" is read out to
BASIC text area, and program execution contin'ues from
that heading.
The original program in the text area at this time is made
NEW, and the content of the variable and user function is
transferred to the chained text.
It
can be understood that
the function of the CHAIN statement is as a GOTO
"filename".
SWAP" FD2:TEXT
Swaps program execution to BASIC text "TEXT S-R" in
S-R "
floppy disk drive number 2.
In other words, the text in execution is once shunted to the
floppy disk in the default drive, then "TEXT S-R" is read
out to the BASIC text area, and program execution
continues from that heading.
When the swapped program is finished, the original text is
then read out, and the program execution continues from
the next statement after the SWAP statement. When each
program execution is linked, the content of the variable and
user function is transferred. The SWAP level must not
exceed 1. In other words, SWAP instructions cannot be
made
within
a swapped text.
In can be understood that the function of the SWAP
statement
is
as the GOSUB "filename".

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mz-2z009

Table of Contents