Denso RC5 Spécifications Page 162

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 161
7-4
7.5 Identifier
7.5.1 Variable
A variable is used to temporarily store data used in a program. There are
global variables, local variables and system variables.
A global variable can be commonly used from any program (task).
A local variable is valid only in one program. Even if another program
executed together also has a variable with the same name, it works only in the
program it belongs to and does not affect the programs mutually.
Global variable
F10=10
Not available to refer
Local variable
JIGU=5
Local variable
LOVE=10
Local variable
LOVE=8
A
vailable to refe
r
A
vailable to refe
r
A
vailable to refe
r
Program 3
Program 2
Program 1
Global Variable and Local Variable
Unexpected accidents can be avoided since the local variable
does not interfere with the variables of other programs.
Vue de la page 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 691 692

Commentaires sur ces manuels

Pas de commentaire