in BASIC ROM:
|BASIC 3.5: |
|List of all BASIC keywords|
Type: Command General Programming-Syntax: DSAVE ["<filename>"] [,D<drive number>] [,<ON U|<device number>]
Remarks: Drive defaults to 0. Unit defaults to 8.
Permissible values (always interpreted as integer) for parameters:
- <device number> (device 8, if not specified) is from 3 to 31 for BASIC 3.5/BASIC 4 or from 4 to 30 for BASIC 7.0,
- <drive> is 0 or 1 (drive 0 if not given).
Saves the program “ BANKRECS” to disk.
Saves the disk program named in the variable A$.
DSAVE “ PROG 3” ,U9
Saves the program “ PROG3” to disk on unit number 9
When a variable or an evaluated expression is used as a filename it must be surrounded by parentheses. It is possible to replace an existing file with @. (It is better to use SCRATCH then DSAVE as there have been problems in the past)