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


next up previous contents index
Next: table.getcolkeywords - Function Up: table - Tool Previous: table.getkeywords - Function


table.getcolkeyword - Function



Package utility
Module table
Tool table


get value of specific column keyword


Synopsis
getcolkeyword(columnname, keyword)


Description
The value of the given column keyword is returned. The value can be of any type, including a record and a table.
If a keyword is a table, its value is returned as a string containing the table name prefixed by 'Table: '. That prefix is automatically removed by table functions like open and tableexists.
It is possible that the value of a keyword is a record itself (arbitrarily deeply nested). A field in such a subrecord can be read by separating the name with dots.



Arguments

columnname in Name of column
    Allowed: String
keyword in Name or seqnr of keyword
    Allowed: String|Int


Returns
Value


Example
  t:=table("MS")
# successful readonly open of table  MS :  22 columns, 7669 rows
  t.getcolkeyword("UVW", "UNIT")
# m





next up previous contents index
Next: table.getcolkeywords - Function Up: table - Tool Previous: table.getkeywords - 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