*tablecolumnlabels()

Defines the column labels of a table in HMASCII format.

Syntax

*tablecolumnlabels ("label1","label2",...,"labelN")

Type

HyperMesh HMASCII

Description

Defines the column labels of a table in HMASCII format. Must be between *tables() and *tables_end(), and must follow *tablecolumntypes().

Inputs

label
The label of the column. If no label is available, an empty value should be provided.

Example

To create a table with ID 100, name "my-table", 4 columns (integer, double, string, elements), 3 rows, and column labels indicating the data type:

*tables(100,"my-table",11,0,3,4)
    *tablecolumntypes(int,double,string,elements)
    *tablecolumnlabels("Integer","Double","String","Elements")
*tables_end()
*tablecolumnstart(0,0,1,3)
    *tablecolumnvalues(2)
    *tablecolumnvalues(7)
    *tablecolumnvalues(1)
*tablecolumnend()
*tablecolumnstart(1,0,4,3)
    *tablecolumnvalues(2.5)
    *tablecolumnvalues(3.14159)
    *tablecolumnvalues(-2.5)
*tablecolumnend()
*tablecolumnstart(2,0,6,3)
    *tablecolumnvalues(A)
    *tablecolumnvalues(B)
    *tablecolumnvalues(C)
*tablecolumnend()
*tablecolumnstart(3,2,2,3)
    *tablecolumnvalues(1)
    *tablecolumnvalues(2)
    *tablecolumnvalues(10)
*tablecolumnend()

Errors

Incorrect usage results in an import error.

Version History

11.0