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.removekeyword - Function Up: table - Tool Previous: table.putcolkeyword - Function


table.putcolkeywords - Function



Package utility
Module table
Tool table


put multiple keywords for a column


Synopsis
putcolkeywords(columnname, value)


Description
Put multiple keywords in the given column. All fields in the given record are put as column keywords. The value of each field can be a scalar or an array of any type or it can be a record.
It is also possible to define a keyword holding a subtable. This can be done by giving the keyword a string value consisting of the subtable name prefixed by 'Table: '. Remember to use single quotes, otherwise glish turns it into a string vector.



Arguments

columnname in Name of column
    Allowed: String
value in Record of keyword=value pairs


Returns
Bool


Example
  t:=table("MS", readonly=F)
  t.getcolkeywords("UVW")
  kw:=[UNIT=m, MEASURE_TYPE=UVW, MEASURE_REFERENCE=, _ForwardColumn_TableName=MS]
  kw.MEASURE_REFERENCE='B1950'
  t.putcolkeywords(kw)
# T





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