EasyManua.ls Logo

Commodore VIC-20 - Page 385

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...
APPENDIX
BASIC
Functions
The
VI
C
20
can define a great number
of
functional operations directly
from BASIC. These functions include mathematical derivations, screen
formatting instructions, and string manipulators. They are listed in alpha-
betical order.
ABS
ABS
returns the absolute value of a number.
Format:
ABS(datan)
Example:
ASC
A-ABS(10)
A-ABS
(-ltD
PRINT
ABS(X)/ABS(Y)/ABS(Z)
Results in
A=
10
Results in
A=
10
ASC returns the ASCII code number for a specified character.
Format:
ASC(data$)
371

Other manuals for Commodore VIC-20

Related product manuals