This comment may make sense or not, depending on the context.

I usually write:
        
        if port [
                close port
                port: none
        ]

because even closed ports satisfy IF PORT.

Anton.

> >             attempt [
> >                 if port [
> >                     close port
> >                 ]
> >             ]
> 
> What exactly does "if port" do? Does it return that the port exists,  
> is opened, has data or what?

> Henrik Mikael Kristensen

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to