EasyManua.ls Logo

Sinclair QL - Page 167

Sinclair QL
422 pages
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...
OP:N
OPEN_IN
OPEN_NEW
C8'JJ~es
Mic=-Ives
01
'EN
allows
the
user
10
link a logical channel
to
a physical
QL
device
for
I/O
purposes.
lillie
channel
is
to
a Mlcrodrive then
the
Microdnve
file
can
be
an
existing
file
or a new
III"
In
which case
OPEN_IN
will
open
an
already existing Mlcrodnve
tile
for input and
01
'EN_NEW
will
create a new Microdnve
tile
for
output.
"Vlllax:
"",mple:
channel:
~
# numeric_expression
OPEN channel, device
OPEN
#5,
f_name$
ii.
OPEN
IN
#9,
"mdv1
fi
Le
name
ll
[open-file
mdv1_file_name]
ill.
OPEN
NEW
#7,
mdv1
data
fi
Le
[open-file
mdv1_datLfile)
-
IV.
OPEN
#6,
con
10x20a20x20
32
[Open channel
6
to
the
console
device creating a window
size
10x20
pixels
at
position 20,20
with
a 32 byte keyboard type ahead
buffer.]
v.
OPEN
#8,
mdv1
read_write_fi
teo
12/84
eX"-~:T1ple:
OVER
wiroaws
OVER selects the type of over printing reqUired
in
the window attached
to
the specified
or
default channel. The selected type remains
in
effect
until
the
next use of OVER.
SY"lax:
swltch:~
numeric_expression [range
-1
..
1)
OVER [channel,] switch
where switch
~
0 - print ink
on
strip
switch
~
1 - print
in
Ink
on
transparent strip
switch
~
-1
-
XORs
the
data
on
the
screen
I.
OVER
1 [set 'bverprintlng"]
Ii.
10 REMark Shadow
Writing
11
PAPER
7 : INK 0 :
OVER
1
CLS
12CSIZE3,1
13
FOR
i = 0
TO
10
14
CURSOR
i,
i
15
IF
i=10
THEN
INK 2
16
PRINT
"Shadow"
17
END
FOR
i

Other manuals for Sinclair QL

Related product manuals