Function; flush - HWRM/KarosGraveyard GitHub Wiki

flush([<FileHandle>])

Description

(from LUA 4 Manual: 6.4 I/O Facilities)

"Saves any written data to the given file. If <FileHandle> is not specified, then flush flushes all open files. If this function fails, it returns nil, plus a string describing the error."

Example

Arguments

<FileHandle>: the handle of the file to flush.
Note: I'm not sure whether this is a string or some other type of element. -Mikali

Related Functions

Function Reference

LUA 4 Manual: 6.4 I/O Facilities

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial