Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | table |
Any number of column descriptors may be given as arguments. Just add more arguments as needed.
columndesc | in | Column descriptor | |
Allowed: | Any valid column descriptor |
scd1:=tablecreatescalarcoldesc("col2","aa") scd2:=tablecreatescalarcoldesc("col1",1,"IncrementalStMan") scd3:=tablecreatescalarcoldesc("colrec1",[=]) acd1:=tablecreatearraycoldesc("arr1",1,0,[2,3,4]) acd2:=tablecreatearraycoldesc("arr2",as_complex(0)) td:=tablecreatedesc(scd1, scd2, scd3, acd1, acd2) tab:=table("mytable", tabledesc=td, nrow=100)
This creates a table descriptor td from five column descriptors
and then creates a 100-row table called mytable from the table
descriptor.
The columns contain respectivily strings, integer scalars, records,
3D integer arrays with fixed shape [2,3,4], and complex arrays with
variable shape.