Elmomc Multi-Axis Motion Controller-Maestro Instrukcja Użytkownika Strona 105

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 313
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 104
For example:
if(iVar == 10 )
end if
while(iArr[0] )
end while
1. The Static Variable cannot be used in the for statement as a loop variable
(to improve program performance). The Static Variable can use loop
variable as index.
2. In the current version, the Static Variable can not be used in waitvar
statement
Static Array size can be obtained by property size:
[Static Array Name] . size or
[Static Array Name] . size [index]
where index is specific array dimension
Example of [Static Array Name].size using:
int i
i = iArr34.size
Return full array size
Example of [Static Variable Name].size[index] using:
int j, k
j = iArr34[0]
k = iArr34[1]
Return size of array dimension, selected by index.
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
5-43
Przeglądanie stron 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 312 313

Komentarze do niniejszej Instrukcji

Brak uwag