[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Printing and Quitting . . .
- Subject: Re: Printing and Quitting . . .
- From: Carl Distefano CLDistefano@xxxxxxxx
- Date: Fri, 7 Aug 1998 05:06:25 +0000
Reply to note from Thomas J Hawley Thu, 06 Aug
1998 22:14:33 EST
-> It appears that when a TY is encountered in an xpl program, it
-> is "held" until the program completes (?) So even if I insert
-> a pause of say 60 seconds (more than enough time to print the
-> 20 line file), when the program gets to the quit it finds the
-> print job still waiting and asks "Still printing, Quit Y/N"
What's happening is that the XPL interpreter is moving on to the
QUIT command while printing is in progress. You avoid jumping the
gun this way by inserting a WAIT command after PRINT. It causes the
routine to wait until the preceding command is finished before
performing the next instruction. Then QUIT executes cleanly.
A Pause won't work, regardless of length. Like QUIT, Pause executes
while printing is in progress, with the result that the print job is
suspended. Printing resumes when the pause expires, but by that
time execution has reached the QUIT command, so you still get the
unwanted prompt.
--------------
Carl Distefano
CLDistefano@xxxxxxxx
http://users.datarealm.com/xywwweb/