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


next up previous contents index
Next: aipsrc.findbool - Function Up: aipsrc - Tool Previous: aipsrc - Constructor


aipsrc.find - Function



Package utility
Module misc
Tool aipsrc


lookup a resource definition


Synopsis
find(value, keyword, def, usehome)


Description
find will return T if the specified keyword was found in an aipsrc file, F otherwise. If a find was made, its value will be returned. If a default value was specified it will be used if the aipsrc keyword was not present.



Arguments

value   The value of the resource (Out)
    Allowed: String
keyword   The name of the resource to look up (In)
    Allowed: String
def   The default value to use if no aipsrc resource found
    Allowed: String
    Default: F
usehome   Use the users own .aipsrc file? (In)
    Allowed: Bool
    Default: T


Returns
Bool - is the resource defined?




next up previous contents index
Next: aipsrc.findbool - Function Up: aipsrc - Tool Previous: aipsrc - Constructor   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