REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 6-Feb-2009 Edit History  

REBOL 3 Errors: already-closed

An attempt was made to close a port that had already been closed.


["Port" :arg1 "already closed"]


p: open %file.txt
close p
filter-error try [close p]
** Access Error: Port file.txt not open
** Where: close p

  TOC < Back Next > - WIP Wiki Feedback Admin