The CRT SPACE(40) should have the trailing colon. The PRINT statement has
universal appeal as it allows for an easy transition to the LPTR if that
request comes up later (it often does).

Regardless of the original design, I use PRINT exclusively for output and
reserve CRT for displaying screen messages during PRINTER ON or (P. I've
seen CRT ignored and a program littered with
PRINTER OFF
PRINT "Something's Wrong"
PRINTER On
which is easily replaced with CRT. The 2 character difference between CRT
and PRINT shouldn't justify its use as a wholesale replacement.
----- Original Message -----
From: "Dennis Bartlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 22, 2004 2:26 AM
Subject: RE: [U2] [UV] WHILE READNEXT id DO {{not a holy war,just a code
example)


> > (A) Also, what do the CRT SPACE(40) lines do besides CRT?
> > (B) And shouldn't this have been written using PRINT in
> case
> > the output wishes to go to the printer and you can use
> > PRINTER ON instead of changing the CRT lines.
>
> (A) The "crt space(40)" lines line up the totals under
> the relevant columns!
>
> (B) Agreed print could have been used (maybe even should
> have)
> BUT
> the original request was to emulate a SORT statement that
> didn't have a LPTR or (P on it... so I did exactly that!
>
> (haven't you learnt yet to give the customer exactly what he
> wants?)
> -------
> 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/

Reply via email to