You could also pass a parameter from the PROC and read the parameter in the
program, like
INPUT REALLY.PRINTING
REALLY.PRINTING = (REALLY.PRINTING = "Y")
IF REALLY.PRINTING THEN GOSUB OPEN.PRINTER
{rest of program}
That way if the printer isn't opened, the output will scroll on the screen.
And if someone did want to print they could run it from a proc that did a
DATA "Y" in the appropriate position.
fwiw,
Allen
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
Sent: Wednesday, April 27, 2005 14:13
To: '[email protected]'
Subject: RE: [U2] Run a program in "Silent" mode
I change all of the
PRINT @(x,y)
to
crt @(x,y).
--Bill
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Burwell, Edward
Sent: Wednesday, April 27, 2005 1:22 PM
To: '[email protected]'
Subject: [U2] Run a program in "Silent" mode
Hello,
Is there a simple UniBasic command (kinda like ECHO OFF) that would cause
all PRINT @(x,y) statements to be suppressed?
I have a program that prints to the screen that I want to run in an
"automatic" mode and I want it to not print to the screen. We are on
UniData 6 - aix. Thanks.
Ed Burwell
[EMAIL PROTECTED]
973.361.5400 x1512
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/