EasyManua.ls Logo

Sinclair QL - Page 172

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...
Normal action
is
to
insert a space between items output on the screen.
If
the item
will
not
fit
on the current line a line feed
will
be generated.
If
the current print position
is
at the start of a line then a space
Will
not
be
output. ! affects the next
item
to
separators
be printed and therefore must be placed
in
front of the print
i~m
being printed.
Also a ; or a
! must be placed
at
the
end of a print
list
if
the spacing
IS
to
be continued
over a series of PRINT statements.
Normal separator, SuperBASIC will tabulate output every
8 columns.
Will force a new
line.
Will leave the print position immediately after the last
item
to
be printed. Output
Will
be printed
in
one continuous stream.
TO
Will
perform a tabbing operation.
10
followed
by
a numeric_expression
Will
advance
the print position
to
the column specified by the numeric_expressIon.
If
the
requested column
is
meaningless or the current print posilion
is
beyond the specified
position then no action will be taken.
syntax:
Allows output
to
be sent
to
the specified or default channel. The normal use of PRINT
is
to
send data
to
the OL screen.
separator:
~
I !
I ,
I \
I ;
I
TO
numeric_expression
item:
~
I expression
I channel
I separator
PRINT
*
[item]
*
Multiple print separators are allowed.
At
least one separator must
separate channel specifications and expressions.
example:
PRINT
"HeLLo
World"
[will output Hello World on the default output device (channel
1)]
ii.
PRINT
#5,
lIdata",
1
,2,3,4
[will output the supplied data
to
channelS (which must have been
previously opened)]
iii.
PRINT
TO
20;
"This
is
in
coLumn 20"
PRINT
devices
Microdrives
RAD
is
a function which
Will
convert
an
angle specifiec
in
degrees
to
an angle specified
in
radians.
,
syntax:
example:
12/84
RAD (numeric_expression)
PRINT
RAO(180)
[will print
3.141593]
RAD
maths functions
45

Other manuals for Sinclair QL

Related product manuals