*tables_end()

Ends a table in HMASCII format.

Syntax

*tables_end()

Type

HyperMesh HMASCII Command

Description

Ends a table in HMASCII format. Must be preceded by *tables() and either *tablecolumntypes() or *tablecolumnlabels().

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