EasyManua.ls Logo

Commodore 2031 - Scratch; SCRATCH (BASIC 4.0 Direct Command); (BASIC 4.0 Direct Command)

Commodore 2031
98 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...
To erase one file, enter the entire name of the file:
Example: PRINT#1,"S0:ACCT"
To erase several files with unrelated names, enter the entire name of each file to
be deleted:
Example: PRINT#1,"S0:ACCT,0:CUSTOMER,0:INV"
To erase several files at one time where names have something in common, refer
to the rules in APPENDIX B concerning pattern matching.
You may erase all files on a diskette using pattern matching as in the following
example:
Example: PRINT#1,"S0:*"
SCRATCH - (BASIC 4.0 Direct Command)
SCRATCH direct command in BASIC 4.0 performs the same function as
SCRATCH disk command.
The format is: SCRATCH Ddr,"jn" ON Udn
Where: dr = drive number (0)
fn = filename of file to be scratched
dn = device number (Defaults to 8)
Pattern matching rules may be used with this command. As with the HEADER
command, there is a built-in safety feature that queries the user: ARE YOU
SURE? A positive response permits the file to be SCRATCHed while a negative
response aborts the operation.
For a complete description of the SCRATCH direct command, please refer to
your BASIC 4.0 reference manual.
26

Table of Contents

Other manuals for Commodore 2031

Related product manuals