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.findfloat - Function Up: aipsrc - Tool Previous: aipsrc.find - Function


aipsrc.findbool - Function



Package utility
Module misc
Tool aipsrc


lookup a boolean resource definition


Synopsis
findbool(value, keyword, def)


Description
findbool will return T if the specified keyword was found in an aipsrc file, F otherwise. If a find was made, its value is returned, otherwise the specified (or default) default value def will be used. The test for boolean is based on a first character being one of y Y t T 1 2 3 4 5 6 7 8 9 to return true, all others are interpreted as false.



Arguments

value   The value of the resource (Out)
    Allowed: Bool
keyword   The name of the resource to look up (In)
    Allowed: String
def   Default to use if keyword not found
    Allowed: Bool
    Default: T


Returns
Bool - is the resource defined?




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