Download Extended Cassette BASIC User`s Manual
Transcript
INP(exp)
INT(n)
LEN(name)
Supplies the numerical value contained in I/O port
exp. Exp is between 0 and 255.
6-2
The largest integer less than or equal to the value
of n.
5-5
The number of character in the string variable whose
name is specified.
5-14
LOG(n)
The natural logarithm of n.
5-5
LOG10(n)
The logarithm base 10 of n.
5-5
PEEK(n)
The value contained in memory location n.
6-2
POS(0)
The current position of the cursor (0 - 131).
RND(n)
The nth entry in a table of random numbers.
5-5
SGN(n)
The sign of the value of n; 1 if positive, -1 if
negative, 0 if n is zero.
5-5
SIN(n)
The sine of n in radians.
5-6
SQR(n)
The square root of n.
5-5
STR(n)
The character representation of the value of n.
TAN(n)
The tangent of n in radians.
5-6
TYP(0)
A value representing the type of data that will be
read from the DATA statement corresponding to the
next READ statement: 1 for numeric data, 2 for string
data, or 3 for data exhausted.
4-7
VAL(s)
5-33
5-15
The numerical value of the string s. The value of
s must be convertable to a legal numerical constant.
5-15
string variable (n1{,n2})
Characters n1, through n2 of the specified string if
n2 is present. Characters n1, through the end of the
string if n2 is ommitted.
5-13
numerical variable (n1{, n2, ...})
An element of an array with the specified name.
element's position is given by n1, n2, etc.
5-16
APPENDIX 2
A2-2
BASIC
The