Manipulate data in files with Lua

Posted by bob on Mar 30, 2021 2:22 AM
By Opensource.com
Mail this story
Web version

Some data is ephemeral, stored in RAM, and only significant while an application is running. But some data is meant to be persistent, stored on a hard drive for later use. When you program, whether you're working on a simple script or a complex suite of tools, it's common to need to read and write files. Sometimes a file may contain configuration options, and other times the file is the data that your user is creating with your application. Every language handles this task a little differently, and this article demonstrates how to handle data files with Lua. read more

Full Story

Printed at http://lxer.com/module/newswire/view/298804/index.html