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.putvarcol - Function Up: table - Tool Previous: table.putcellslice - Function


table.putcol - Function



Package utility
Module table
Tool table


put a specific column


Synopsis
putcol(columnname, value, startrow, nrow, rowincr)


Arguments

columnname in Name of column
    Allowed: String
value in Array
startrow in First row to put (default 1)
    Allowed: Int
nrow in Number of rows to put (default -1 means till the end)
    Allowed: Int
rowincr in Increment in rows to put (default 1)
    Allowed: Int


Returns
Bool


Example
  t:=table("tcal",readonly=F)
# successful read/write open of table  tcal :  9 columns, 11 rows
  gain:=t.getcol("Gain")
  gain[1,1,1,6,]:=1+0i
  t.putcol("Gain", gain)
  t.flush()





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