Basic Functions - Commodore VIC-20 Programmer's Reference Manual

Hide thumbs Also See for VIC-20:
Table of Contents

Advertisement

VIC 20 BASIC FUNCTIONS
The intrinsic functions provided by BASIC are presented in the
following paragraphs. The functions may be called from any
program without further definition.
Arguments to functions are always enclosed in parentheses. In
the formats given for the functions in this chapter, the arguments
have been abbreviated as follows:
X and Y
Represent any numeric expression
I and J
Represent integer expressions
XS and YS
Represent string expressions
If a floating point value is supplied where an integer is required,
BASIC will round the fractional portion and use the resulting
integer.
VIC 20 BASIC Functions
i
FUNCTION
ABS
ASC
ATN
CHRS
COS
EXP
FRE
INT
LEFTS
LEN
LOG
MIDS
PEEK
POS
RIGHTS
RND
Numeric
X
X
X
X
X
X
X
X
X
X
X
X
RESULT
String
X
X
X
X
[
[
I

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents