[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SPOOLCOUNT()
 Determines the number of entries in the print spool queue
------------------------------------------------------------------------------
 Description

     The function allows you to determines the number of entries in the print
     spool queue.  This value can be useful in a loop in conjunction with
     SPOOLENTRY().  A file currently being printed is not counted.

 Note

     .  When using SPOOLENTRY() in conjunction with SPOOLCOUNT(),
        SPOOLENTRY() stops print output.

 Examples

     .  Display entries (stops output):

        FOR I = 1 TO SPOOLCOUNT()
           ? SPOOLENTRY (I)                     // Path and file name
        NEXT I
        SPOOLACTIV()                            // Continue printing

     .  Delete the next-to-last entry:

        ? SPOOLDEL(SPOOLENTRY9SPOOLCOUNT() -1   //.T., when done


See Also: SPOOLENTRY() SPOOLDEL()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson