Juniper-systems Allegro CX Manual Bedienungsanleitung Seite 170

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 303 304

Kommentare zu diesen Handbüchern

Keine Kommentare