BASIC PROORAMMING
SECTION 4·.f·'
4,3,4
VER.V09F
The first element of a string array may be referenced with just
the variable name~ without the need fo~ any number in
parentheses.
Example:
A1$,Z$ Actually refer to the variables A1$(0),Z$(0)
A single variable may therefore be defined as:
ST$(0,10) and used as:
ST$
MULTIPLE STATEMENTS
HUNTER Basic supports multiple statements in a single program
line. Statements are separated by a colon(:).
Example:
100 A:0:B:10:PRINT A,B:B=11
The primary use of this feature is to reduce the program size.
It may also make a program more _legible.
If a colon is used at the end of a line, END is assumed and
program execution stops.
The following statements cannot form part of a multiple
statement:
DATA
WHILE
WEND
If REM is used in a multiple statement, it must be the last
statement in the line.
PAGE 4 - 10