Page 1 of 1

LUA parse INI files

PostPosted: Mon Jun 29, 2015 2:02 pm
by Mikhail Korovyansky
Hey!

Is there any way to get some data (read and parse) from external files (like *.ini) with fusion's LUA?

Thanks!

Re: LUA parse INI files

PostPosted: Mon Jun 29, 2015 7:22 pm
by Toulouse LeTrack
You can use all the standard file. functions from Lua:
http://www.lua.org/manual/5.1/

Also, eyeon.scriptlib has some nice parsing functions for filenames and such,
namely eyeon.parsefilename()....:-)

Re: LUA parse INI files

PostPosted: Mon Jun 29, 2015 7:48 pm
by Mikhail Korovyansky
ah..

yeah, I had to think about eyeon.parsefilename().. my bad ))

thanks!