Commodore 128 System Manual page 266

Table of Contents

Advertisement

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:
DLOAD"BANKRECS"
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.
D O /L O O P /W H IL E /U N T IL /E X IT
Define and control program loop
DO [UNTIL condition | WHILE condition] statements [EXIT]
LOOP [UNTIL condition | WHILE condition]
17-24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents