Table_GetColumnIndex

Prototype: GemRB.GetTableColumnIndex (TableIndex, ColumnName)

Metaclass Prototype: GetColumnIndex (ColumnName)

Description: Returns the index of a column in a 2DA Table.

Parameters:

  • TableIndex - returned by a previous LoadTable command.
  • ColumnName - a column label

Return value: numeric, -1 if column doesn’t exist

See also: LoadTable, Table_GetRowIndex


Back to function index, GUIScript introduction.