Forum Discussion
speechles
7 years agoRoku Guru
"RokuTomC" wrote:
BrightScript language reference material has been lumped with the BrightScript API references:
https://developer.roku.com/en-gb/docs/references/brightscript/language/statement-summary.md[/url:1r40gpo7]
https://developer.roku.com/en-gb/docs/references/brightscript/language/program-statements.md[/url:1r40gpo7]
Try telling that to your "search." Type in "Statement summary" and DOI
Results for statement summary
10 results
Statement summary
Developer Documentation - https://developer.roku.com/docs/referen ... summary.md
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...
Program statements
Developer Documentation - https://developer.roku.com/docs/referen ... tements.md
DIM name (dim1, dim2, …, dimK) DIM (\"dimension\") is a statement that provides a short cut to creating roArray objects. It sets variable name to type \"roArray\", and creates Arrays of Arrays as needed for multi-dimensional arrays. The dimension passed to Dim is the index of the maximum entry to be allocated (the array initial size = dimension+1); the array will be resized larger automatically if needed...