hello,
where i can find et.FS_ constants?
regards
et.FS_ constants
Moderators: Forum moderators, developers
et.FS_ constants
wolFTeam.pl
Code: Select all
et.FS_READ
et.FS_WRITE
et.FS_APPEND
et.FS_APPEND_SYNC
p.s is there an option to create a file by script?
wolFTeam.pl
I meant to create a file via the command in lua script, but its impossible atm i guess. The best way is to always keep one file clean and rename it when its needed, am i right? Thx for repliesReyalP wrote:Not sure what you mean ? You can use regular lua file io (which is essentially C stdio) or ETs FS APILuk4ward wrote: p.s is there an option to create a file by script?
edit:
my bad, creating a file via script is possible
wolFTeam.pl
Hmm but i cant use smth like?:ReyalP wrote:Not sure what you mean ? You can use regular lua file io (which is essentially C stdio) or ETs FS APILuk4ward wrote: p.s is there an option to create a file by script?
Code: Select all
io.open (file , "w+")
wolFTeam.pl
Correct, that's why you have to use io instead or os instead. http://www.lua.org/manual/5.0/manual.html#5.6Luk4ward wrote: I want to remove or reset the file, but there is no et.trap_FS_F [remove/reset cmd ] File to do that..
remove is actually in OS.
send lawyers, guns and money