Specifications
Concepts - 6
SAVING AND LOADING PROGRAMS
Saving and loading programs to and from nonvolatile memory is as easy as typing “SAVE” and “LOAD”. You can
download programs through a modem hundreds of miles from the computer.
AUTORUN OPERATION
Once a program has been stored in nonvolatile memory, it can autorun on power–up.
PROTECTING YOUR PROGRAMS
You can cause your program to be completely hidden so that it cannot be viewed by unauthorized people. Once hidden, the
program cannot be modified or listed.
The procedure is very simple. Just make the following line the first in your program.
10 . . .
The three periods tell the runtime executor that the contents are to be hidden.
WARNING: Once hidden, the process cannot be reversed. We made it that way so that programs would truly be
protected. Before hiding a program, save a copy on disk.
VARIABLES
More than 25,000 unique variables may be defined for use in CAMBASIC programs. Variable names may be up to 40
characters long. In order to maximize speed, the first and last characters and the length are significant. Variables must
begin with an alpha character. They may contain numbers, the underline character and the period.
TIME_OUT
MOTOR_ON
START_PRE_HEAT
RELAY_1
The length of an array variable name is not used. PUMP(n) and PP(n) are seen as the same variable and will return the
same value.
The variables A% through Z% are “pre–compiled”. This gives them two special advantages not shared with the rest of the
variables. They are not cleared to zero on power–up, reset or when chaining programs. They also execute about 50%
faster in an average program.
NOTE: Variables with “%” as the second character may only be used for simple variables, and not array or
string variables.
There are simple, array and string variables. The “$” is used when defining a string variable. Different type variables may
have the same name. For example:
A
A%
A$
A(0)