User`s guide

When
this
command
is
in
effect,
all
output
generated
by
PRINT
or
LIST
com
mand
will
be
sent
to
the
file
instead
of the
video
monitor.
The
format
of the
command
is
as
follows:
CM
D
ifn<
,
variable/data
>
where:
Ifn
Is
the
logical
file
number
to
receive
the
output
<
variabte/data
>
(optional}
when
specified
is
sent
directly to
the
file.
This
can be used
as a
handy
way
of
printing
titles
on
printouts.
To
re-direct
the
output
back
to
the
primary
output
device,
the
PRINT=
(not
ab
breviation)
command
must
be
used
to
send
a
blank
line
to
the
CMD
device
prior
to
closing
the
file.
If
a
SYNTAX
ERROR
occurs,
output
will
not
be
redirected
back
to
the
video
monitor.
Devices
are
not
"untistened"
by
this
so
you
should
PRINT#
3
blank
line
after
an
error
condition.
5.
Command
Example
OPEN
1,4,7
OPEN
2,4
PRINT#1,
"HELLO
THERE"
CLOSE1:CLOSE2
File#1,
device#4,
secondary
address#7
File#2f
device#4
(secondary
address
is
default
#0}
Print
"HELLO
THERE"
on
file#1
Print
a
blank
line
on
file#2
Close
file#1
andfile#2
Remember,
since
CMD
does not
close
the
line
to the
printer,
you
must
always
precede
a
CLOSE
command
with
PRINTS
in
order
to
properly
close
the
file.
EXAMPLE;
Right
Wrong
OPEN
1,
4
PR!NT#1,
"HELLO
THERE"
CLOSE
1
OPEN
2,
4,7
CMD
2,
"HELLO
THERE"
not
PRINT#2
CLOSE
2
OPEN
3,
4
CMD
3,
"HELLO
THERE"
not
PRINT#3,
"HELLO
THERE"
CLOSE
3
OPEN
2,4,
7
CMD
2,
"HELLO
THERE-
CLOSE
2
IS
RUN
f
1
*
* P
ad©
diamond
c
3.
ub
di
arnorid
c
1
ub
*
EXAMPLE
2:
180
fern
"SI"
:
chr$''
1T>
1
1@
rem
"Ml"
:
chrJ1'
145
local
b'Jir-iness-
rood's
,
local
9r-.5Phiic
mode
i
46
Pr-irittt7,,
"LOGO
ihlt
150
Print#7,
"SHIFT
V
XS&
Pr-i.nt.tf7j
"SHIFT
H
170
Pr.int*t7,
"SHIFT
f
ISO
P
*•■
i
nt.#?
,
"SHIFT
B
l;#7,
"SHIFT
G
pi
\
.
in
busirtess
mods
TtS/S
Vertici
1"
35^S
Vertical"
EM/S
Vertical"
E13/S
Vertical
"
-■:-"'
F-r-int-#7,
"SHIFT
T
KTT
EC1,^:
Vertical"
21^1
Print.#7v
"LOGO
G
Ml
cH.t.'o
Vertical
"
22S
S3C
~
i_-r"-
i*
i
"t. i~i
!?
r
r
r^irtt^T"
■""■■"
'r
i
■J:
11:1
p"
1
O
z-
i5p
7
run
LOGO
r"!
SHIFT
V
SHIFT
H
SHIFT
'
SHIFT
B
:f-'
[FT
T
!
LOGO
Q
I
8.-^
Vertical
7/8
'■■■'c-r-t-1
'"^-J.
,5/g
Vertics
1
3/15
Vertical
ri/S
■■■■.:
r-t:
icaI
"'.■n''l'
';'■"" -""JT'
]r
i~."r.
J
21
■■''-!
'■■'■-■•■
t
i
:-;;.-i
T
i
■:=:
Vrr
t
i
cal