Merge - Sharp MZ-700 Basic Manual

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

Advertisement

43
MERGE
(merge)
A-,»rogram in the file is added to a program in the
memory ..
Format:
MERGE [" [<device name> :] < filename > "] [<,A>]
Note: Only FDn or CMT device name.
Abbreviated form:
ME.
Explanation:
• Reads in the program in the file designated by the <device name>, adding it after
the
progra~
currently in the memory.
• If the <device name> is omitted, the file of the device designated by the
DEFAULT statement will be read in.
• If line number of the program within the computer is the same as the line number
of the program read in from the file, the program from the file has priority, and the
former program will be deleted.
• If option "A" is applied, the BSD file is considered as ASCII format and is merged.
Examples:
Program in the memory
"PROG" program on floppy disk
1 0
B =2
1 0
A=1
30
PRI
NT
B
20
PRI
NT
A
50
END
40 END
..... when these are merged by MERGE "FDl: PROG", the result is as follows.
1 0
A=1
20
PR I
NT
A
30
PR I
NT B
40 END
50
END

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mz-2z009

Table of Contents