hi, it just tests if its none I guess. its just more readable than "if none? port" I actually receive the handler with a port set to none some times!
the attempt is to make sure the sub port is also open, and to make sure there is no lingering error within the handler... which is what seems to make the port do a hard crash (well, the only way I can explain it). -MAx On 4/29/07, Henrik Mikael Kristensen <[EMAIL PROTECTED]> wrote: > > > > On 25/04/2007, at 0:16, Maxim Olivier-Adlhoch wrote: > > > > > so I added > > > > attempt [ > > if port [ > > close port > > ] > > ] > > What exactly does "if port" do? Does it return that the port exists, > is opened, has data or what? > > -- > Regards, > Henrik Mikael Kristensen > > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
