*tablecolumnvalues()
Sets the value of a cell in a table in HMASCII format.
Syntax
*tablecolumnvalues (value)
Type
HyperMesh HMASCII
Description
Sets the value of a cell in a table in HMASCII format. Must be between *tablecolumnstart() and *tablecolumnend().
Each call to *tablecolumnvalues() defines a value in the next row.
Inputs
- value
- The value of the cell.
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