Table of Contents

OPEN

COLOR BASIC

DISK EXTENDED COLOR BASIC

OPEN “mode” , #buffer , “filename” , record length
Opens a buffer that transfers data to and from a particular device.

If you don't specify the record length the computer uses 256 bytes.

Mode Allows
I Data input from a sequential access file.
O Data output to a sequential access file.
D Data transfer to or from a direct access file.

Buffer Communicates With
-2 The printer.
-1 The tape recorder.
0 The screen or printer. (It is not necessary to open this buffer.)
1-15 The disk drives.

OPEN “D” , #1, “FILE”, 15

OPEN “I”, #2, “CHGE/DAT”

RTS

Return to Tandy Color Computer, Color BASIC, or Disk Extended Color BASIC