Versions Compared

Key

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

...

  • size: The initial number of elements entries allocated for an the array.
  • resize: If true, the array will be resized larger to accommodate more elements entries if needed. If the array is large, this process might take some time.

...

Returns the last (highest index) entry and removes it from the array.

Push(

...

entry As Dynamic)

Adds a new highest-index entry to the end of the array.

...

Removes index zero from the array and shifts all other entries down by one unit.

Unshift(

...

entry As Dynamic)

Adds a new index zero to the array and shifts all other entries up by one unit.

Delete(

...

index As Integer) As Boolean

Deletes the indicated array entry and shifts all above entries down by one unit.

Count() As Integer

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

Clear()

Deletes every entry in the array.

Append(

...

array As

...

roArray)

Appends one roArray to another. If the passed roArray contains entries that were never set to a value, they are not appended.

...

Returns a typed value at the current position and increment increments the position.

IsNext() As Boolean

...

Returns True if there is not an exact statement.

ifArrayGet

GetEntry(

...

index As Integer) As Dynamic

Returns an array entry of a given index. Entries start at zero. If an entry that the entry at the specified index has not been set is fetched, this method will return Invalid is returned.

ifArraySet

SetEntry(a As Integer, b As Dynamic)

Sets an entry of a given index to the passed type value.