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


next up previous contents index
Next: aipsrcedit - Tool Up: aipsrc - Tool Previous: aipsrc.type - Function


aipsrc.done - Function



Package utility
Module misc
Tool aipsrc


free resources used by tool


Synopsis
done(kill)


Arguments

kill in force kill of the default tool
    Allowed: bool
    Default: F


Returns
bool or fail


Description

If you have created your own aipsrc tool (rather than using the default drc one), and you no longer need it, its resources can be destroyed by the done function. Note that the default tool can only be destriyed by setting the kill argument explicitly to T.



Example
- arc := aipsrc()
- arc.aipsarch()
/nfs/aips++/weekly/sun4sol_gnu 
- arc.done()
T 
- arc.aipsarch()                     # the tool was destroyed
warning, operand to .aipsarch is not a record
error, F is not a function value
F








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