[REBOL] Re: open/lines
From: ptretter:norcom2000 at: 14-Jan-2001 18:14
Thanks Holger,
I was able to modify my script to include copy/part port 1 and then add
some logic which got it working without a hitch and got rid of the past-end
message. The logic was just an added line:
if irc-input-buffer = block! [irc-input-buffer: to-string irc-input-buffer]
Paul Tretter
P.S. - This should probably get added to the /Core docs some day depending
on how it changes in the next release.
----- Original Message -----
From: "Holger Kruse" <[holger--rebol--com]>
To: <[rebol-list--rebol--com]>
Sent: Sunday, January 14, 2001 5:26 PM
Subject: [REBOL] Re: open/lines
> On Sun, Jan 14, 2001 at 04:20:43PM -0600, Paul Tretter wrote:
> >
> > If I used open/line/direct/no-wait I get a block when doing a:
> >
> > copy port
> >
> > I get a string when I do:
> >
> > copy first port
> >
> > My question is how do I use copy port and convert it to get the same
output that copy first provides in a string format without generating a
past-end error.