"columnToName"

Reads column names.

Synopsis

getValue(string shape, "columnToName", int idx, string columnName);

shape.columnToName(int idx);

Parameters

Parameter Description
shape Name of the object
idx Column index, starting with 0
columnName Name of column idx

Description

This attribute can be used to determine the name of a column specified by "idx".

Example

Displays in the log viewer the name of the first column.

main()
{
  shape table=getShape("table123");
  DebugN(table.columnToName(0));
}

Assignment

Table