Home  Contents

file:close

File Lua Commands

SYNOPSIS

file:close()

DESCRIPTION

Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen.