Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>q_delete() - delete a file from the print queue</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     q_delete() - delete a file from the print queue
  Usage:    <logical> = q_delete(<file>)
  Params:   string <file> - the name of the file to cancel
  Returns:  logical .T. if file deleted from the print queue, .F.
            if not or if DOS version less than 3.00

 ---------------------------------- Example ---------------------------------

                 fname = space(11)
                 @ 10,0 say "Enter filename to cancel: " get fname
                 read

                 if (! q_delete(fname))
                      @ 0,0 say "Couldn't delete file &fname"
                 endif

  Note:     The Q functions require DOS version 3.00 or higher.


See Also: isqueue() q_cancel() q_file() q_hold() q_restart() q_status()

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