Remote-processing CAMBASIC Manuel d'utilisateur Page 12

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 208
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 11
Concepts - 6
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. W e 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 CAM BASIC programs. Variable names may be up to 40
characters long. In or der to maxim ize speed, the first and last character s and the length are significant. Variables m ust
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. PUM P(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 m ay 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)
Variables may contain keywords, as long as the keyword is not first. Keywords may be imbedded in variable nam es.
Vue de la page 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 207 208

Commentaires sur ces manuels

Pas de commentaire