Function; appendto - HWRM/KarosGraveyard GitHub Wiki

appendto(<sFileName>)

Description

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

"Opens a file named <sFileName> and sets it as the value of _OUTPUT. Unlike the writeto operation, this function does not erase any previous contents of the file; instead, anything written to the file is appended to its end. If this function fails, it returns nil, plus a string describing the error."

Example

Arguments

<sFileName>: the name of the file to append to.

Related Functions

Function Reference

writeto

LUA 4 Manual: 6.4 I/O Facilities

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️