beautypg.com
RETURN .......................................................................................................................................................................... 35
REM................................................................................................................................................................................. 35
PRINT .............................................................................................................................................................................. 35
FOR / END FOR .............................................................................................................................................................. 38
FOR EACH IN / END FOR .............................................................................................................................................. 39
WHILE / EXIT WHILE ...................................................................................................................................................... 40
IF / THEN / ELSE ............................................................................................................................................................ 40
Block IF / ELSEIF / THEN / ENDIF .................................................................................................................................. 41
Function() As Type / End Function .................................................................................................................................. 43
Built-In Functions ............................................................................................................... 48
Type() .............................................................................................................................................................................. 48
GetGlobalAA() ................................................................................................................................................................. 48
Rnd()................................................................................................................................................................................ 48
Box() ................................................................................................................................................................................ 49
Run()................................................................................................................................................................................ 49
Eval() ............................................................................................................................................................................... 51
GetLastRunCompileError() .............................................................................................................................................. 51
GetLastRunRuntimeError() .............................................................................................................................................. 52
BrightScript Core Library Extension ................................................................................ 53
BrightScript Debug Console ............................................................................................. 54
Console Commands ........................................................................................................................................................ 54
Appendix A – BrightScript Versions ................................................................................ 56