Meta Project

The Unofficial Meta Documentation

CLOSE

Summary

CLOSE closes a file handle

Category

FILE-IO GENERAL-IO

Usage

CLOSE value

Arguments

value - A file handle used for reading or writing a file

Refinements

This method has no refinements

Description

CLOSE closes a file handle used for reading or writing a file

Example Code

file-out: ./file-out.txt
if fhandle-out: try open/new file-out [
    append fhandle-out "Hello World!"
    CLOSE fhandle-out
]

Related

OPEN  
TAKE  
READ  
APPEND  

Back to the Meta Methods Reference index