EasyManua.ls Logo

Commodore VIC-20 - Page 395

Commodore VIC-20
404 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...
Example:
SYS
A'=STR'(14.6)
?A$
?STR$(1E2)
?STR$
( 1 E
lEl)
Appendix
H
BASIC
Functions 381
Displays
14.6
Displays
100
Displays
lE+
10
SYS
is
a system function that transfers program control to an inde-
pendent subsystem.
Format:
SYS(mem
adr)
mem adr
is
the starting address at which execution
of
the subsystem
is
to begin. The value must
be
in the range 0 <address <65535.
TAB
TAB moves the cursor right to the specified column position.
Format:
TAB(arg n)
TAB moves the cursor to the
n+
I position, where n
is
the number
obtained by resolving
arg
n.
Example:
?"QUARK";
SPC(
10);
"W"
tllUARK
W
?"QUARK";TAB(10);"W"
QUARK
W
TAN
These two examples show the difference between
SPC
and TAB.
SPC
skips ten positions from the last
cursor location, whereas TAB skips to the 10+
lth
position on the row
T
AN
returns the tangent of the argument.
Format:
TAN(argn)

Other manuals for Commodore VIC-20

Related product manuals