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


next up previous contents index
Next: msfiles - Function Up: ms - Module Previous: ms.done - Function


is_ms - Function



Package general
Module ms


Is the argument a ms tool?


Synopsis
is_ms(tool)


Description
This global function can be used to determine if the supplied argument is a ms tool. If so it returns True, otherwise it returns False.


Arguments

tool   The variable that you wish to test
    Allowed: Any glish variable
    Default: no default



Returns
T or F, indicating if the argument is a componentlist tool or not.


Example
      include 'ms.g';
      myms := ms('3C273XC1.ms');
      if (is_ms(myms)) {
        print 'The ms name is', myms.name();
      }
This example shows how you can use this function to determine if the supplied variable is a ms tool.



next up previous contents index
Next: msfiles - Function Up: ms - Module Previous: ms.done - 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-08-01