
PROGRAM STATEMENTS
BrightScript supports the following statement types. The syntax of each statement is documented in more detail later in
this chapter.
Note: BrightScript is not case sensitive.
• Library
• Dim
• = (assignment)
• End
• Stop
• Goto
• Rem (or ')
• Print
• For / To / End For / Step / Exit For
• For Each / In / End For / Exit For
• While / End While / Exit While
• If / Then / Else If / Else / End If
• Function / End Function / As / Return
Example
Function Main() As Void
dim cavemen[10]
cavemen.push("fred")
cavemen.push("barney")
cavemen.push("wilma")
Comentários a estes Manuais