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.query - Function Up: table - Tool Previous: table.name - Function


table.toascii - Function



Package utility
Module table
Tool table


Write AIPS++ table into an ASCII format


Synopsis
toascii(asciifile, headerfile, columns, sep)


Description
Write a table into an ASCII format. Both columnar data (scalar) and table keywords may be written. The separator between values can be specified and defaults to a blank. Note that columns containing arrays will be ignored (after showing a warning).

The output format is that read by the constructor tablefromascii.

If the argument headerfile is set then the header information is written to that file instead of the first two lines of the data file.



Arguments

asciifile in Name of ASCII file to be written
    Allowed: String
headerfile in Name of an optional file defining the format
    Allowed: String
    Default: ''
columns in Names of columns to be written
    Allowed: Vector of strings
    Default: All
sep in Value separator
    Allowed: String
    Default: ' '


Returns
Bool




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