PRINT commands will be directed to the display only. If the printer is turned on, all commands
and data from PRINT commands will be directed to both the printer and display. With the printer
off, data can still be directed to the printer by using the PRINT) command (see Subject 305).
Similarly, INPUT statements will output data to the printer in response to the printer control state.
An INPUT! statement will output data to the printer even if the printer control is off (see
Subject 305).
200 GETTING STARTED WITH BASIC
201 BASIC COMMAND SET
This section is not intended to be a detailed course in BASIC programming. It will, however, serve
as an excellent introduction for those of you unfamiliar with the language.
We recommend that you try each example in this section as it is presented. This will enhance your
"feel" for BASIC and how it is used. Table 201-1 lists all the AIM 65 BASIC commands.
NOTE
Any time the cursor (^) is displayed in column 1
a BASIC command may be typed in. End all
commands to BASIC by typing RETURN. The
RETURN tells BASIC that you have finished
typing the command. If you make an error, type
a DEL (RUBOUT on a TTY) to eliminate the
last character. Repeated use of DEL will
eliminate previous characters. An @ symbol
will eliminate that entire line being typed.
Table 201.1. AIM 65 BASIC Commands
Commands Input/Output
-------- ------------
CLEAR DATA
CONT GET
FRE INPUT
LIST POS
LOAD PRINT
NEW READ
PEEK SPC
POKE TAB
RUN
SAVE
String Functions
----------------
Program Statements ASC
------------------ CHR$
DEF FN LEFT$
DIM LEN
END MID$
FOR RIGHT$
GOSUB STR$
GOTO VAL
IF...GOTO
IF...THEN
LET Arithmetic Functions
NEXT --------------------
ON...GOSUB ABS
ON...GOTO ATN*
REM COS
RESTORE EXP
RETURN INT
STOP LOG
USR RND
WAIT SIN
SGN
SQR
TAN