Juniper-systems Allegro CX Manual Instrukcja Użytkownika Strona 170

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 304
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 169
170 Allegro CX Owner’s Manual
Examples:
if a1<>0 then Set(c1, b1/a1) end
if a1=0 then
Set(c1, “Sorry...”)
else
Set(c1, b1/a1)
end
While Statement
while condition
commands
end
Executes commands as long as a condition is True.
Example:
while a1>0
Set(CellRef(2, a1), a1*100)
Set(a1, a1-1)
end
For Statement
for counterVariable = startValue to endValue [step stepValue]
commands
end
Repeats commands a specifi ed number of times.
Example:
for i = 1 to 10
Set(CellRef(1, i), i)
end
for j = 1 to 100 step 10
Set(a1, a1*j)
end
Przeglądanie stron 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 303 304

Komentarze do niniejszej Instrukcji

Brak uwag