Hi Ladislav: Yes, your code works for me. But I wrote a function as follows: safe-close: func [p[port!]][if p [close p]] lets say dufus: none safe-close dufus generates Script Error: safe-close expected p argument of type: port HOWEVER: if I write safe-close: func [p][if p <> [] [close p]] dufus: [] safe-close dufus I get no error message. :>) Duh!! I know I have lots to learn yet. Thanks Tim >Sorry, I don't understand. For me your code works: > >>> dufus-pointer: none >== none >>> either equal? dufus-pointer none [][close dufus-pointer] >>> > > Ladislav > >
- [REBOL] installing Rebol as CGI application under PWS/Win... christian . wenz
- [REBOL] installing Rebol as CGI application under PW... icimjs
- [REBOL] installing Rebol as CGI application unde... christian . wenz
- [REBOL] installing Rebol as CGI application under PW... tim
- [REBOL] [REBOL] Default Port Values? tim
- [REBOL] [REBOL] Default Port Values? Re: lmecir
- [REBOL] [REBOL] Default Port Values? Re:... tim
- [REBOL] [REBOL] Default Port Values... icimjs
- [REBOL] Simple CGI Problem louisaturk
- [REBOL] Simple CGI Problem ... christian . wenz
- [REBOL] Simple CGI Problem ... ryanc
- [REBOL] Simple CGI Problem ... ralph
- [REBOL] Simple CGI Problem ... louisaturk
- [REBOL] Simple CGI Problem ... christian . wenz
- [REBOL] Simple CGI Problem ... allenk
- [REBOL] Simple CGI Problem ... fred-ml
- [REBOL] Simple CGI Problem ... christian . wenz