Denso RC5 Specifikace Strana 162

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 692
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 691 692

Komentáře k této Příručce

Žádné komentáře