Brightsign BrightScript 3.0 Reference Manual User Manual Page 45

  • Download
  • Add to my manuals
  • Print
  • Page
    / 75
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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]
Page view 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 74 75

Comments to this Manuals

No comments