@gettablecolumnlabel()
Returns the label of a column in a table.
Syntax
@gettablecolumnlabel (table_id, column_index)
Type
HyperMesh Template Function
Description
This function returns the label of a column in a table. This can be used both inside and outside of a *tables() block.
Inputs
- table_id
- The ID of the table.
- column_index
- The index of the column in the table, starting from 0.
Example
*tables()
*format()
*counterset(counter1,0)
*variableset(variable1,columns)
*loopif([counter1 < variable1])
*field(string,[@gettablecolumnlabel(id,counter1)],0)
*counterinc(counter1)
*endloop()
*output()
Version History
11.0