Date: 03-25-92 00:26 (Public)
From: Steve Halko
To: Bill Beeler
BB>In a message to Bob Sewell <21 Mar 92 03:29> Michael Orchekowski wrote:
BB> >BS>undesired carriage return/line feed. The following
BB> >BS>is off the top of my
BB> >BS>head, so if it doesn't work right, fiddle with it until it does.
BB> >BS> OPEN "cons" FOR OUTPUT AS #1
BB> >BS> OPEN "ansifile.ans" FOR INPUT AS #2
BB> >BS> WHILE NOT EOF(2)
BB> >BS> loop until end of file
BB> >BS> LINE INPUT #2, a$
BB> >BS> PRINT #1, a$;
BB> >BS> WEND
BB> >BS> CLOSE
BB> MO> Should be
BB> MO> disk file named "CONS". A distinct difference. MPO.
BB>QB has had, as long as I can remember, the CONS option.
Not quite - the name of the device is not CONS it is CONS:
So the proper way to OPEN the console is :
OPEN "CONS:" FOR OUTPUT AS #1
* SLMR 2.1a * A cynic smells flowers & looks for the casket
--- DB B1062/002487
* Origin: Gulf Coast BBS -QuickSHARE #2- (904)563-2547 HST/V.32bis (1:365/12)