Try this:
data: copy port
incoming-str: either empty? data [""] [first data]
or you could get it to return none, or run an error handler in the same manner.
SpliFF
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.
>
> Paul Tretter
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.