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


next up previous contents index
Next: getrc.find - Function Up: misc - Module Previous: aipsrcedit.gui - Function


getrc - Tool



Package utility
Module misc


Postscript file available

find aips recources from .aipsrc files using the getrc utility

include "getrc.g"

Constructors
Functions
find lookup a resource definition



Description
The getrc tool is used to interrogate the .aipsrc files (AIPS++ resource files) to find values for a given keyword, and to connect with some of the more widely used keywords. More on aipsrc files can be found in the system manual, and in the aipsrcdata description. The getrc tool is used only during startup to avoid various dependencies between a few core include files. Once "aipsrc.g" has been included, getrc should not be used. However, if getrc is used it will detect that aipsrc has been included and that will be used. There is only one getrc tool, which is immediately available upon the inclusion of getrc.g.



Example
- include "getrc.g"
T 
- getrc.find(where, "help.directory")    
T
- print where
/aips++/daily/sun4sol_gnu/doc/aips2help
- getrc.find(where, "does.not.exist") 
F




next up previous contents index
Next: getrc.find - Function Up: misc - Module Previous: aipsrcedit.gui - 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