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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies