Skip to end of metadata
Go to start of metadata

BrightScript supports the following familiar looking statement types:

If / Then / Else If / Else / End If
For / To / End For / Step / Exit For
For Each / In / End For / Exit For
While / End While / Exit While
Function / End Function / As / Return
Print
Rem (or ')
Goto
Dim
End
Stop

BrightScript is not case sensitive.
Each statement's syntax is documented precisely later in the manual.

 

Example

 

Each line may contain a single statement, or a colon ( : ) may be used to separate multiple statements on a single line.

  • No labels