Ifenum, Ifarrayget, Ifarrayset – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 15

Advertising
background image

7

Delete(a As Integer) As Boolean: Deletes the indicated array entry and shifts all above entries down by
one unit.

Count() As Integer Returns the index of the highest entry in the array plus one (i.e. the length of the array).

Clear(): Deletes every entry in the array.

Append(a As Object): Appends one roArray to another. If the passed roArray contains entries that were never
set to a value, they are not appended.
Note: The two appended objects must be of the same type.


The ifEnum interface provides the following:

Reset(): Resets the position to the first element of enumeration.

Next() As Dynamic: Returns a typed value at the current position and increment position.

IsNext() As Boolean: Returns True if there is a next element.

IsEmpty() As Boolean: Returns True if there is not an exact statement.


The ifArrayGet interface provides the following:

GetEntry(a As Integer) As Dynamic: Returns an array entry of a given index. Entries start at zero. If an
entry that has not been set is fetched, Invalid is returned.


The ifArraySet interface provides the following:

SetEntry(a As Integer, b As Dynamic): Sets an entry of a given index to the passed type value.

Advertising