EasyManua.ls Logo

Commodore 128 - Page 333

Commodore 128
448 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...
EXAMPLES:
PRINT CHR$ (65) Prints the a character,
a
PRINT CHR$ (147) Clears the text screen.
COS
Return cosine for angle of X radians
COS(X)
This function returns the value of the cosine of X, where X is an
angle measured in radians.
EXAMPLE:
PRINT COS (tt)
-1
DEC
Return decimal value of hexadecimal number string
DEC (hexadecimal-string)
This function returns the decimal value of hexadecimal-string.
EXAMPLE:
PRINT DEC (D020)
53280
F$=F:PRINT DEC(F$)
15
ERR$
Return the string describing an error condition
ERR$(N)
This function returns a string describing an error condition. Also
see system variables EL and ER and Appendix A for a list of
BASIC error messages.
18-5

Table of Contents

Other manuals for Commodore 128

Related product manuals