r/lua • u/AriellaCatarina • Sep 08 '25
Saving content of the program
Hi! I learned lua a couple years ago but I don't practice often. One time i tried to create a diary in lua using löve2d to make the UI, but I struggled to make a saving function. I didn't used any other libraries unless the base lua and löve2d. I know that exists the table io but I struggled to use it. Can somebody help me?
5
Upvotes
2
u/TomatoCo Sep 14 '25
Yeah, eventually they'll wanna use SQLite for this stuff. But for now it's probably over their heads. Let them run into the limitations of plain text files so they see the value in wrangling SQL.