The type of argument needed is generally decided by the data type in
the result. Functions which return a string value as their result are
identified by having a dollar sign ($) as the last character of the
keyword. In some cases string functions contain one or more numeric
argument. Numeric functions will convert between integer and floating-point
format as needed. In the descriptions that follow, the data type of the
value returned is shown with each function name. The types of arguments
are also given with the statement format.
COMMAND | ABBREVIATION | SCREEN | FUNCTION TYPE |
ABS | A <SHIFT> B | | NUMERIC |
AND | A <SHIFT> N | | |
ASC | A <SHIFT> S | | NUMERIC |
ATN | A <SHIFT> T | | NUMERIC |
CHR$ | C <SHIFT> H | | STRING |
CLOSE | CL <SHIFT> O | | |
CLR | C <SHIFT> L | | |
CMD | C <SHIFT> M | | |
CONT | C <SHIFT> O | | |
COS | none | COS | NUMERIC |
DATA | D <SHIFT> A | | |
DEF | D <SHIFT> E | | |
DIM | D <SHIFT> I | | |
END | E <SHIFT> N | | |
EXP | E <SHIFT> X | | NUMERIC |
FN | none | FN | |
FOR | F <SHIFT> O | | |
FRE | F <SHIFT> R | | NUMERIC |
GET# | none | GET# | |
GOSUB | GO <SHIFT> S | | |
GOTO | G <SHIFT> O | | |
IF | none | IF | |
INPUT | none | INPUT | |
INPUT# | I <SHIFT> N | | |
INT | none | INT | NUMERIC |
LEFT$ | LE <SHIFT> F | | STRING |
LEN | none | LEN | NUMERIC |
LET | L <SHIFT> E | | |
LIST | L <SHIFT> I | | |
LOAD | L <SHIFT> O | | |
LOG | none | LOG | NUMERIC |
MID$ | M <SHIFT> I | | STRING |
NEW | none | NEW | |
NEXT | N <SHIFT> E | | |
NOT | N <SHIFT> O | | |
ON | none | ON | |
OPEN | O <SHIFT> P | | |
OR | none | OR | |
PEEK | P <SHIFT> E | | NUMERIC |
POKE | P <SHIFT> O | | |
POS | none | POS | NUMERIC |
PRINT | ? | ? | |
PRINT# | P <SHIFT> R | | |
READ | R <SHIFT> E | | |
REM | none | REM | |
RESTORE | RE <SHIFT> S | | |
RETURN | RE <SHIFT> T | | |
RIGHT$ | R <SHIFT> I | | STRING |
RND | R <SHIFT> N | | NUMERIC |
RUN | R <SHIFT> U | | |
SAVE | S <SHIFT> A | | |
SGN | S <SHIFT> G | | NUMERIC |
SIN | S <SHIFT> I | | NUMERIC |
SPC( | S <SHIFT> P | | SPECIAL |
SQR | S <SHIFT> Q | | NUMERIC |
STATUS | ST | ST | NUMERIC |
STEP | ST <SHIFT> E | | |
STOP | S <SHIFT> T | | |
STR$ | ST <SHIFT> R | | STRING |
SYS | S <SHIFT> Y | | |
TAB( | T <SHIFT> A | | SPECIAL |
TAN | none | TAN | NUMERIC |
THEN | T <SHIFT> H | | |
TIME | TI | TI | NUMERIC |
TIME$ | TI$ | TI$ | STRING |
TO | none | TO | |
USR | U <SHIFT> S | | NUMERIC |
VAL | V <SHIFT> A | | NUMERIC |
VERIFY | V <SHIFT> E | | |
WAIT | W <SHIFT> A | | |