[REBOL] Re: close, Error in the docs?
From: tim:johnsons-web at: 7-Nov-2001 13:16
On Wed, Nov 07, 2001 at 10:51:08PM +0100, Marc Michael wrote:
> Hello,
> I am right new to REBOL. And there, I have an
> understanding-problem:
> In the docs (REBOL/Core) the examples shows:
> mailbox: pop://user:[pass--domain--tld]
> close mailbox
> But I get an error-message.
> If I type in the REBOL-shell: "? close", it says, that
> "close" wants a port as value.
> Where's the error?
Hiya Yogi:
It looks like you just assigned 'mailbox the "path" to your
POP serve, which is a URL.
Try it again. This time - at the rebol-shell command prompt:
>> mailbox: pop://user:[pass--domain--tld]
>>type? mailbox
>>url!
; you will see something like the above
; now try:
>>mymail: open mailbox
; you should now get a connection to the POP server.
; once you do, do this
>>type? mymail
; and you should get
>>port!
; now you can 'close it
>>close mymail
HTH
> To the docs, I need this to delete the mails in the pop-account.
> cu, yogi
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com