53
Appendix – BrightScript Versions
BrightScript Version Matrix
Defxxx, on, gosub, clear, random, data,
read, restore, err, errl, let, clear, line
numbers
AA & dot Op & m reference
For/Next Does Not Always Execute At
Least Once
Invalid Type. Errors that used to be Int Zero
are now Invalid. Added roInvalid; Invalid
Autoboxing
Array's use roArray; Added ifArray
Uninit Var Usage No Longer Allowed
Sub can have "As" (like Function)
roXML Element & XML Ops dot and @
Type() Change: Now matches declaration
names (eg. Integer not roINT32)
Added dynamic Type; Type now optional on
Sub/Functions
And/Or Don't Eval un-needed Terms
Sub/Fun Default Parameter Values
e.g. Sub (x=5 As Integer)
Change Array Op from ( ) to []
Added Circ. Ref. Garbage Collector
Add Eval(), Run(), and Box()
Commenti su questo manuale