🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Using LUA io libraries

Started by
1 comment, last by Temuz 20 years, 11 months ago
It seems that there''s no good tutorials on LUA io libraries (lua-users.org had a unmade tutorial page!). I''ve tried to solve them myself, but somehow it doesn''t work. So, if there''s any LUA gurus out there, would somebody of them tell me, how to 1. Open a binary file for (over)writing 2. Write the values of three (or more) variables; one of boolean type, one of integer and one of string. 3. Close the file ...Or should I write some C++ glue functions in my game engine to do this all (for example if this isn''t possible at all)? Thanks.
Kekkonen, Kekkonen, Kekkonen.
Advertisement
Well, solved the problem myself, ISHRTFMMC (I should have read the fine manual more carefully).

Moderators may delete this thread now.
Kekkonen, Kekkonen, Kekkonen.
Why not just tell us how you did it?

This topic is closed to new replies.

Advertisement