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


next up previous contents index
Next: dish.filein - Function Up: dish - Tool Previous: dish.edrop - Function


dish.empty - Function



Package dish
Module dish
Tool dish


Clear the stack.


Synopsis
empty()


Description
This function is used to clear the ``stack''. The stack is a construct (simply a vector of integers) which is used to organize a list of scans which will be operated on in some common way. Generally, it is used to assemble a list of scans which can then be averaged.



Returns
Boolean


Example
- d.addstack(10,50,2)
- d.tellstack()
21  entries in the stack.
[10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50] 
- d.empty()
- d.tellstack()
No entries currently in the stack.





next up previous contents index
Next: dish.filein - Function Up: dish - Tool Previous: dish.edrop - 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