REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 6-Feb-2009 Edit History |
Access to a port is terminated with the close function. All buffered data that has not been saved will be written to the target file. The example below will close a port opened earlier:
close fp
If you attempt to close a port that is not open, an error will occur.
A port that is closed can be reopened again with the open function:
open fp
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |