Brightsign BrightScript 3.0 Reference Manual Uživatelský manuál Strana 45

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 75
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 44
40
For each n in aa
Print n;aa[n]
aa.delete[n]
end for
WHILE / EXIT WHILE
WHILE expression / EXIT WHILE
A WHILE loop executes until the specified expression is false. Use the EXIT WHILE statement to exit a WHILE block
prematurely.
Example:
k=0
while k<>0
k=1
Print "loop once"
end while
while true
Print "loop once"
Exit while
End while
IF / THEN / ELSE
IF expression THEN statements [ELSE statements]
Zobrazit stránku 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 74 75

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

Žádné komentáře