*tablecolumntypes()
Defines the column types of a table in HMASCII format.
Syntax
*tablecolumntypes (type1,type2,...,typeN)
Type
HyperMesh HMASCII Command
Description
Defines the column types of a table in HMASCII format. Must be between *tables() and *tables_end(), and must be before *columnlabels().
Inputs
- type
- The type of the column. Valid values are bool, double, float, int, string, triple, unsigned int, and any entity type.
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