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


next up previous contents index
Next: tablecomparer.settolerance - Function Up: tablecomparer - Tool Previous: tablecomparer.checkcoldata - Function


tablecomparer.checkkeywordnames - Function



Package utility
Module table
Tool tablecomparer


Compare table keyword names


Synopsis
checkkeywordnames(checksubtables)


Description
This function compares table keyword names. If the keyword names in one table match those in the other, it returns T.



Arguments

checksubtables   Check column names of subtables as well?
    Allowed: Boolean
    Default: T


Returns
T if the tests pass, F otherwise


Example
- tc := tablecomparer('test.table','fiducial.table',verbose=2)
NORMAL: successful readonly open of default-locked table test.table:
37 columns, 210 rows
NORMAL: successful readonly open of default-locked table fiducial.table: 37 columns, 210 rows
- tc.checkkeywordnames()                                       
NORMAL: Keyword field names test passed for table TABLE
NORMAL: successful readonly open of default-locked table test.table/CAL_DESC: 12 columns, 1 rows
NORMAL: successful readonly open of default-locked table fiducial.table/CAL_DESC: 12 columns, 1 rows
NORMAL: Keyword field names test passed for table CAL_DESC
NORMAL: successful readonly open of default-locked table test.table/CAL_HISTORY: 4 columns, 0 rows
NORMAL: successful readonly open of default-locked table fiducial.table/CAL_HISTORY: 4 columns, 0 rows
NORMAL: Keyword field names test passed for table CAL_HISTORY
T





next up previous contents index
Next: tablecomparer.settolerance - Function Up: tablecomparer - Tool Previous: tablecomparer.checkcoldata - 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