Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • An object is needed instead of a typed value (e.g. the roList object maintains a list of objects). When a function that expects a BrightScript object as a parameter is passed an integer, float, or string, BrightScript automatically creates the equivalent object.
  • If any object exposes the ifInt, ifFloat, or ifString interfaces, that object can be used in any expression that expects a typed value. For example, an roVideoEvent can be used as an integer with a value representing the event ID.


Integer Operations

If "o" is of type roInt, then these statements will have the following effects:

...