Advertisement

Using LUA io libraries

Started by July 11, 2003 03:56 PM
1 comment, last by Temuz 21 years, 7 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.
Well, solved the problem myself, ISHRTFMMC (I should have read the fine manual more carefully).

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

This topic is closed to new replies.

Advertisement