Home  Contents

file:write

File Lua Commands

SYNOPSIS

file:write(···)

DESCRIPTION

Writes the value of each of its arguments to the file. The arguments must be strings or numbers. To write other values, use tostring or string.format before write.

SEE ALSO