Save

Some functions to make reading and writing files a little easier. The premise is that a function which reads (returns the contents of a file) will also write if provided data to save.

Comments, 326 Votes - submitted on 12/05/2014 view repo

This small useful module can be used to store and retrieve values across different app sessions.
A lot of people found it useful in Code Exchange 1, so am reposting it here

You can save TABLES, NUMBERS, STRINGS or BOOLEANS.

Comments, 453 Votes - submitted on 31/03/2014 view repo

Two functions to easily load and save a table of Lua data to your apps storage.

Comments, 747 Votes - submitted on 17/01/2014 view repo