User`s manual
4-1
4 / Program Statements
LEVEL II BASIC makes several assumptions about
how to run your programs. For example:
* Variables are assumed to be single-precision (unless
you use type declaration characters - see Chapter 1,
"Variable Types").
* A certain amount of memory is automatically set
aside for strings and arrays - whether you use all of it
or not.
* Execution is sequential, starting with the first
statement in your program and ending with the last.
The statements described in this chapter let you
over-ride these assumptions, to give your programs
much more versatility and power.
NOTE: All LEVEL II statements except INPUT and
INPUT# can be used in the Command Mode as well as
in the Execute Mode.
Statements described in this chapter:
Type
Definition
Assignment &
Allocation
Sequence of
Execution
Tests
(Conditional
Statements)
DEFINT CLEAR it END IF
DEFSNG DIM STOP THEN
DEFDBL LET GOTO ELSE
DEFSTR GOSUB
RETURN
ON ... GOTO
ON ... GOSUB
FOR-NEXT-STEP
ERROR
ON ERROR GOTO
RESUME
REM
This chapter also contains a discussion of data conversion in LEVEL II
BASIC; this will let you predict and control the way results of expressions,
constants, etc., will be stored - as integer, single precision or double precision.










