Input/Output operations

Thalassicus

Bytes and Nibblers
Joined
Nov 9, 2005
Messages
11,057
Location
Texas
I'd like to dump a bunch of data to a file, instead of the console. However, when I open the file:

local f = io.open(filename, "a");

An error message occurs, "attempt to index local io (a nil value)".

Is there something I need to include to use io operations? I'm following the instructions in the manual here.
 
if you have logging enabled then everything dumped into the console is also printed into the lua.log file, so until the source is out thats the best i can think of for getting data into a file
 
Back
Top Bottom