Commodore C-NET 128 v7.0 User Manual page 109

8-bit home computer
Table of Contents

Advertisement

65493
LOAD, A=0, X=>start, Y=<start.
65496
SAVE, A=zpage location of pointer to start of save, X=>end,
Y=<end.
21.5
BASIC VARIABLE
This section contains a list of the most common BASIC variables that are in
use in the stock C-NET 128 version 4.0 through 7.0.
along with a description of how it is used throughout the program.
Version 4.0 through 7.0 are different from older 128 versions in the sense
that variables created in sub-program modules (BBS, Mail, etc.) that aren't
used by the main program are automatically eliminated from existence when
the Main Prompt is again reached.
small number of variables listed here that are SAFE for your uses.
Variables now fall into one of several distinct classes:
1)
In a BASIC program file, you may use absolutely ANY variable names
and
number of variables for your purposes.
automatically
The one drawback, of
can not be used in these files.
2)
In a C-NET program file, a LOCAL, or AUTOMATIC variable.
you
may use any variable name you wish, as long as it is not found in
this list with a
subroutine uses one of the
one that's not on this list.
are automatically removed from the system
exited.
3)
STATIC variables, ones that aren't destroyed by C-NET as program
files are
exited.
modifications that must
(scores in games, or tracking how many
example).
C-NET sets the 'cut-off' point for
survive through the execution of a program file as those which
present in memory when the program file is initiated.
static variables, you must 'instance' them somewhere before this point,
possible
in prg.setup, or prg.logon after line 61025.
the purpose of line
4)
New modification variables 'created' in the CN file itself
automatically become
variables last forever, it is a good idea
following list for CN file mods to avoid leaving
which may slow things down.
Here's a key to the symbols used next to variable names:
"!"
Denotes an operating system variable, which must not be interfered
with by external programming!
reading these variables or using them in calculations, as long as no
assignment to them occurs.
"*"
Denotes a variable which is used by the program file support
routines.
removed from the system when the program file is exited.
course, is that useful variables (such as NA$, etc.)
(!) next to it.
variables marked (-), simply choose another
NEW
These variables are desirable for program file
extend between program files are callers
61077 in prg.setup.
static.
If it is not your intention that these
If you exit your program file via 'gosub5650' then external
For this reason, you will notice only a
These variables are
If you suspect that a C-NET BASIC
variables CREATED by these files
when the program file is
times a user has played a game, for
variables that will
to pick (carefully) from the
'trash' in the system,
There is no problem, however, with
Each variable is given
Generally,
are
To create your own
This is exactly

Advertisement

Table of Contents
loading

Table of Contents