resetting PFMBTO?

Kenneth Brody kenbrody at spamcop.net
Tue May 10 07:16:18 PDT 2011


On 5/10/2011 9:02 AM, Mike Schwartz wrote:
> filePro 5.0.14 running on SCO Unix 5.0.7
>
>        I want to have a debugging msgbox popup in prc.input and then go away
> after 3 seconds, so I wrote the following code:
>
> putenv "PFMBTO","3"
> msgbox "Preparing to print form#"<au
> putenv "PFMBTO",""
>
>        Is that last line the proper value to reset PFMBTO so that it doesn't
> affect the other msgbox commands in prc.input?
[...]
>       Or isn't there any way to completely reset PFMBTO once it gets turned
> on?

PFMBTO is only read once.

Why not use SHOW POPUP instead?

     show popup "Preparing to print form#"<au ; video sync
     sleep "3000"
     clears ; video sync

Or, better still:

     show popup "Printing form#" < au ; video sync
     ... print the form ...
     clears ; video sync

-- 
Kenneth Brody


More information about the Filepro-list mailing list