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


next up previous contents index
Next: misc.killspinner - Function Up: misc - Tool Previous: misc.fopen - Function


misc.initspinner - Function



Package utility
Module misc
Tool misc


start an ascii activity spinner


Synopsis
initspinner(interval)


Description
This initializes a traditional ascii activity spinner. The characters |, /, -, and \ are printed periodically, followed by a backspace. The printing is done outside the standard Glish output mechanism, resulting in a spinning bar. If any Glish output is done during this time, orphaned characters will be left over as the cursor moves. In particular, this will probably confuse Glish's notion of where the cursor is during editing. It is probably best not to leave this active while the user is expected to type anything. Use killspinner to shut this down. As there should only be one of these things active at once, there can only be one spinner per misc tool, and the spinner argument is implicit.



Arguments

interval   Interval in seconds between characters
    Allowed: Real




next up previous contents index
Next: misc.killspinner - Function Up: misc - Tool Previous: misc.fopen - 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