EasyManua.ls Logo

Commodore 128 - Page 266

Commodore 128
448 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...
NOTE: To print the DIRECTORY,of the disk in drive 0, unit 8, use
the following example:
LOAD$0,8
OPEN4,4:CMD4:LIST
PRINT#4:CLOSE4
DLOAD
Load a BASIC program from disk
DLOAD “filename [.Ddrive number] [<ON | ,>Udevice
number]
This command loads a BASIC program from disk into current
memory. (Use LOAD to load programs from tape.) The program
must be specified by a filename of up to 16 characters. DLOAD
assumes device number 8, drive 0.
EXAMPLES:
DLOADBANKRECS
Searches the disk for the program BANKRECS" and LOADs it.
DLOAD (A$)
LOADS a program from disk whose name is stored in the variable
A$. An error message is given if A$ is empty. Remember, when a
variable is used as filename, it must be enclosed in parentheses.
The DLOAD command can be used within a BASIC program to
find another program on disk. This is called chaining.
DO/LOOP/W HILE/UNTIL/EXIT
Define and control program loop
DO [UNTIL condition | WHILE condition] statements [EXIT]
LOOP [UNTIL condition | WHILE condition]
17-24

Table of Contents

Other manuals for Commodore 128

Related product manuals