At your REBOL console type "help try" (or, equivalently, "? try") to see what 'try will do for you. Then do something like this: check-port: either error? try[open tcp://www.texastech.edu:1234] [...error stuff goes here...] [...no error stuff goes here...] Good luck, Russ ---- At 01:11 PM 1/5/2000 -0600, you wrote: >What is the proper way to detect an error when opening a port? For example, > > check-port: open tcp://www.texastech.edu:1234 > >returns an access error. Can I detect this error in a script without the >session quitting? My goal is to send e-mail if a port is unavailable. > >David Coons >Programmer-Analyst >Administrative Information Services >Texas Tech University > > >
