Owner`s manual

52
PRINT # ( ) (print)
Writes in data
to
BRD files.
Format:
PRINT
# <logical
number>,
«data
element
number»,
<data>
[,
<data>,
... ]
Abbreviated form:
P.#(
)
Explanation:
Writes in contents specified by variable
or
numerical value to data position specified
by
data element number from file cross opened by
XOPEN
# statement. Variable may
be array variable.
The file which writes in the data becomes the file specified to (logical number) by the
XOPEN # statement.
The data are numerical data
or
character data.
The possible write-in data length
is
32
bytes and the data element position is from 1 -
n.
Example:
10
XOPEN
#4,
"FD1:DATA"
20
FOR
Z=3
TO
13
STEP
5
30
PRINT
#4
(Z),O
40
NEXT
Z
50
CLOSE
#4
Data
ele~:~:
::!:~:=
11121~
41516171~191101111121~1141
~~~
..... When this program is executed, data "0" are written in at the G), @ and
<ID
data
position indicated by
Z,
as shown in the figure.
Reference:
INPUT # ( ) (page 51)