Roboolean – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 18

Advertising
background image

10

roBoolean

This is the object equivalent for the Boolean intrinsic type. It is useful in the following situations:

When an object is needed instead of an intrinsic value. For example, if a Boolean is added to roList, it will be
automatically wrapped in an roBoolean object by the language interpreter. When a function that expects a
BrightScript component as a parameter is passed a Boolean, BrightScript automatically creates the equivalent
BrightScript component.

When any object exposes the ifBoolean interface. That object can then be used in any expression that expects an
intrinsic value.


Interfaces: ifBoolean

The ifBoolean interface provides the following:

GetBoolean() As Boolean

SetBoolean(a As Boolean)

Advertising