
start a new physical line within a logical statement.
To reduce the size of the compiled
program,
there
are
no
program
line
numbers included
in
the object cod
7
generat
7
d
by the compiler unless the /D, IX, or /E switch
~s
set
~n
the
compiler
command.
Error messages, therefore, contain
the address where the error
occurred,
instead
of
a
line
number.
The
compiler
listing
and
the
map generated by
LINK-SO are used to identify the line that
has
the
error.
It
is
always
a
good
idea
to
debug
programs using the
BASIC-SO interpreter before attempting to compile them.
See
the BASIC Compiler Oser's Manual for more information.
Most programs that run on the Microsoft BASIC-SO interpreter
will
run
on
the
BASIC Compiler with little or no change.
However, it
is
necessary to note differences in the
use
of
the following program statements:
CALL
The <variable name> field
must
contain an External
recognized by LINK-SO as
routine must be supplied
language
subroutine
or
FORTRAN-SO library.
2.
CHAIN and COMMON
The CHAIN and COMMON statements are not implemented
on the compiler.
They will generate a fatal error.
in
the
CALL
statement
symbol, i.e., one that is
a
global
symbol.
This
by the user as an assembly
a
routine
from
the
The CHAIN and COMMON statements will be implemented
in
a
future
release
of
the
BASIC
compiler.
However, their
implementation
will
be
different
from
the
BASIC-SO
interpreter's
version.
The
COMMON
statement
will
be
similar
to
FORTRAN'S
COMMON statement.
3.
DEFINT/SNG/DBL/STR
The compiler does not "execute" DEFxxx
statements;
it
reacts
to
the
static
occurrence
of
these
statements,
regardless
of
the
order
in
which
program
lines
are
executed.
A DEFxxx statement
takes effect as soon as its
line
is
encountered.
Once
the
type
has
been
defined
for
a
given
variable, it remains in effect until the end of the
program
or until a different DEF~~
statement wi~~
that variable takes effect.
4.
OSRn Functions
OSRn functions are significantly different from the
interpreter
versions.
The
argument
to the OSRn
Содержание Basic Interpreter Basic 80
Страница 1: ...5IA iC intc tit tcl c t ...
Страница 2: ......
Страница 6: ... ...
Страница 10: ......
Страница 26: ......
Страница 33: ...2 5 Intentially left blank ...
Страница 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Страница 40: ...410 DEF FNAB X Y XA3 YA2 420 T FNAB I J Line 410 de ines the function function is called in line 420 ...
Страница 112: ......
Страница 136: ......
Страница 140: ......
Страница 160: ......
Страница 165: ......
Страница 166: ......
Страница 174: ......
Страница 176: ......
Страница 182: ......
Страница 184: ......
Страница 190: ......