EasyManua.ls Logo

Commodore Plus 4 - Page 104

Commodore Plus 4
464 pages
Print Icon
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...
98
The
BASIC
Language
Parameter:
machine-language
program
address
The
address
can
be
a
number
between
decimal
0
and
65535
(hexadecimal
$0000-$FFFF),
or
a
numeric
expression
standing
for
a
number
between
0
and
65535.
Example:
SYS
1525
TAB
TAB
(number)
Turns
on
the
built-in
software.
This
is
part
of
the
definition
for
function
key
1.
Abbr.
tA
Example:
Used
in
a
PRINT
command
to
move
the
specified
number
of
spaces
to
the
right
from
the
left
side
of
the
screen
or
page.
A
TAB
function
is
similar
to
a
tab
key
on
a
typewriter.
The
number
in
parentheses
can
be
from
0
to
255.
Values
above
39
refer
to
subsequent
lines.
TAB
can
appear
anywhere
in
a
PRINT
command,
including
between
two
PRINT
items.
No
punctuation
is
required
to
set
off
a
TAB
function.
Regardless
of
where
TAB
appears
in
the
PRINT
command,
TAB
always
counts
spaces
from
the
leftmost
column
of
the
current
line.
TAB
Compared
with
SPC
The
difference
between
TAB
and
SPC
is
that
TAB
always
counts
spaces
from
the
leftmost
column
while
SPC
counts
spaces
from
the
last
PRINTed
item.
For
example,
in
the
following
program,
TAB
forces
WORD
to
be
printed
five
spaces
from
the
left
side
of
the
screen.
SPC
forces
WORD
to
be
printed
five
spaces
from
the
end
of
the
previous
PRINTed
item,
which
was
12345.
10
PRINT
"12345"
TAB(5)
"WORD"
20
PRINT
"12345"
SPC(5)
"WORD"
30
PRINT"
1234512345"
RUN
12345W0RD
12345
WORD
1234512345
TAN
TAN
(number)
Abbr.
none
Numeric
function
that
finds
the
tangent
of
the
angle
in
parentheses.
The
angle
must
be
expressed
in
radians.
If
the error
message
DIVISION
BY
ZERO
appears
after
a
TAN
function,
TAN
has
overflowed.
For
more
information,
see
the
Mathematical
Calculations
section
of
Chap
ter
3.

Other manuals for Commodore Plus 4

Related product manuals