The eccoMAGIC Forums
http://forums.eccoMAGIC.com/forum/YaBB.pl
Ecco Tutorials, Tips and How-to Guides >> How do I ..... >> LUA - write to file
http://forums.eccoMAGIC.com/forum/YaBB.pl?num=1210580385

Message started by ykorovin on 05/12/08 at 03:19:45

Title: LUA - write to file
Post by ykorovin on 05/12/08 at 03:19:45

Can someone please show me a LAUscript writing to file.

This one does not work:

function writetofile()
io.open ( "c:\output.txt", a )
file.write("hello world")
end

while shows no errors in Expr evaluator (LUA mode).

Title: Re: LUA - write to file
Post by Admin on 05/12/08 at 11:58:43


yes,  there are threads on this (w/ examples).

goto

http://search.eccomagic.com/


and search for "io.write"


(be sure to select ALL ,  default is past 30 days or such)


The eccoMAGIC Forums » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.