Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: tablecreatescalarcoldesc - Function Up: table - Module Previous: tablecloseall - Function


tablecreatedesc - Function



Package utility
Module table


create a table descriptor


Synopsis
tablecreatedesc(columndesc)


Description
Creates a table descriptor from a set of column descriptions. The resulting table descriptor can be used in the constructor.

Any number of column descriptors may be given as arguments. Just add more arguments as needed.



Arguments

columndesc in Column descriptor
    Allowed: Any valid column descriptor


Returns
Table descriptor record


Example
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.



See Also
table tablecreatescalardesc tablecreatearraydesc





next up previous contents index
Next: tablecreatescalarcoldesc - Function Up: table - Module Previous: tablecloseall - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15