@getcolumnlabel()

Returns the label of a column in a table.

Syntax

@getcolumnlabel (column_index)

Type

HyperMesh Template Function

Description

This function returns the label of a column in a table. This can only be used inside of a *tables() block.

Inputs

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,[@getcolumnlabel(counter1)],0)
            *counterinc(counter1)
        *endloop()
*output()

Version History

11.0