From: "G. Scott Jones"
...
> Try something like:
>
> func [port buf][
>     while [(line: system/words/pick port/sub-port 1) <> "."] [
>         if none? line [
>             print "Got none .. aborting"
>             break/return buf
>         ]
>         insert tail buf line
>         insert tail buf newline
>     ]
>     buf
> ]

Ooops.  I forgot that the break would break out of the while not the
function.  Obviously my addition should be of no benefit.  I guess that is
an additional problem with not being able to test on the error condition
before sending.  Sorry.
--Scott Jones

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to