![Oric MICRODISC Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/oric/microdisc/microdisc_manual_1650515049.webp)
O P E N a file (for writing or reading)
C L O S E a file (from reading or writing)
P U T data in a file
G E T data from a file
DESCRIPTION (in general)
These four instructions are concerned with data (as opposed to arrays
and programs) and are interdependent to a large degree. For example
before you can P U T data in a file, you must O P E N a new file for
writing, (you cannot P U T data in an existing file). When writing is
finished you must C L O S E the file. Once a file is C L O S E D (created) you
can O P E N it (for reading only) G E T data from it and C L O S E it (from
reading).
O P E N a file (for reading or writing)
DESCRIPTION
To make a file available ( O P E N ) for reading from or writing to.
INSTRUCTION
!OPEN
<filename> [,<option>]
The <options> are:
R if you wish to read data from the file (use the G E T instruction).
W if you wish to write data to the file (use the P U T instruction).
44
RETURN