Delete; Chain - Sharp MZ-80B Basic Manual

Personal computer double precision disc
Hide thumbs Also See for MZ-80B:
Table of Contents

Advertisement

22
2.2.4

DELETE

DELETE < FD d @v,> "file name "
Format
d . . . . . drive number
v . . . . . diskette volume number
This statement deletes a specified file from the diskette.
Function
This statement is prohibited for any locked file. If you want to delete locked
Discription
files, it is necessary to execute the UNLOCK statement first, then the DELETE
statement.
2.2.5

CHAIN

CHAIN < FD d @v,> "file name"
Format
d . . . . . drive number
v
. . . . . diskette volume number
This statement chains the program execution to BASIC text on the diskette.
Function
CHAIN FD2@7, "TEXT B " . . . Chains the program in the BASIC text area to
Description
BASIC program "TEXT B" on the diskette volume 7 in drive 2. That is, program
"TEXT B " is loaded in the BASIC text area and program execution is started at
its beginning. Before the text is loaded, the BASIC text area is cleared but all
variable values and contents of user functions are given
CHAIN statement has the same function as GOTO "file name" .
CHAIN "PROGRAM 3 " . . . Chains the program in the BASIC text area to
program "PROGRAM 3 " on the diskette in the active drive.
Statements LOCK, UNLOCK, RENAME and DELET E can be also used as direct commands.
:
1 through 4
:
1 through 4
t
o the program . The

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents