EasyManua.ls Logo

Commodore 128 - Page 261

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...
DATA
Define data to be used by a program
DATA list of constants
This statement is followed by a list of data items to be input into
the computer's memory by READ statements. The items may be
numeric or string and are separated by commas. String data
need not be inside quote marks, unless they contain any of the
following characters: SPACE, colon, or comma. If two commas
have nothing between them, the value is READ as a zero if
numeric or as an empty string. Also see the RESTORE statement,
which allows the Commodore 128 to reREAD data.
EXAMPLE:
DATA 100, 200, FRED, HELLO MUM, , 3,14, ABC123
DCLEAR
Clear all open channels on disk drive
DCLEAR [Ddrive number] [<ON | ,>Udevice]
This statement closes and clears all open channels on the
specified device number. Default is U8. This command is
analagous to OPEN 0,8,15, 10 CLOSE 0.
EXAMPLE:
DCLEAR DO
Clears all open channels on drive 0, device number 8.
DCLEAR D1,U9
Clears all open channels on drive 1, device number 9.
NOTE: Files will be aborted, data may not be recoverable from
files which were being written to. See CLOSE/DCLOSE.
DCLOSE
Close disk file
DCLOSE [#logical file number] [CON | ,>Udevice]
17-19

Table of Contents

Other manuals for Commodore 128

Related product manuals