Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>spoolflush()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SPOOLFLUSH()
 Completely empty the print queue
------------------------------------------------------------------------------
 Syntax

     SPOOLFLUSH() --> lDeleteAll

 Returns

     SPOOLFLUSH() returns .T. when you can remove all entries.

 Description

     SPOOLFLUSH() allows you to remove all entries from the print spool
     queue.  An entry currently being printed, is not taken into account,
     (just as with SPOOLCOUNT()).

 Example

     Delete the spool queue:

     IF SPOOLFLUSH()               // All deleted ?
        ? "Print spool queue is empty !"
     ENDIF


See Also: SPOOLCOUNT() SPOOLENTRY()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson