WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   File handling (https://www.wowinterface.com/forums/showthread.php?t=33085)

luwak 06-10-10 05:43 PM

File handling
 
hi im very new with lua, how do i load file from lua? like "test.log"
i have tried use io.open and always get error msg. thanks

Starinnia 06-10-10 05:44 PM

The WoW Lua environment does not include some of the normal Lua libraries, such as io.

You cannot read or write files from a WoW AddOn.

luwak 06-10-10 05:55 PM

aw i had three hours to find a way how to read the file, btw thanks alot :)

jeffy162 06-10-10 09:11 PM

Try opening the file with "Notepad" if you're on a Window's system.

Ferous 06-11-10 05:35 AM

If your looking to mess with Lua alot, check out Notepad++

alexdwsn12 06-23-10 10:52 AM

You can also open in Edit Plus which is the same as Notepad++. There is no big difference between them.


All times are GMT -6. The time now is 05:24 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI