appendColumnValue method


Adds a new element to the end of the specified row, and assigns the specified value to it. If the specified row is beyond the current bounds of the array, the array is expanded to include the specified row.

Syntax

InfoBusVector.appendColumnValue(row, value)

Applies to

InfoBusVector object.

Parameters

row
int. The row number of the array element to be assigned a new value. Row numbers start at zero.
value
String. The value to be assigned to the new array element, which is appended as the next element after the last existing element in the row.

Usage

This method is intended for use when you want InfoBusVector to keep track of the last non-empty row and column for you for you as you populate the array in order first by rows and then by colums. If you want to keep track yourself, you can just use the addValue method instead of this method and the appendRow method, and populate in any order.

Example
InfoBusVector example

See also
appendRow method
addValue method
InfoBusVector class
InfoBusBridge applet