
a=5
If a=5 then print "a is 5"
Unlike the C language, BrightScript does not support use of the = assignment operator inside an expression. This is
meant to eliminate a common class of bugs caused by confusion between assignment and comparison.
When assignment occurs, intrinsic types are copied, while BrightScript Objects are reference counted.
Commentaires sur ces manuels