[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: calling script with dobuffer doesnt work
- From: "Matthias Gall" <matthias@...>
- Date: Sun, 25 Feb 2001 21:39:00 +0100
> The problem is the last line. The "write" function isn't built into the
> core lua language, it's actually part of the add-on I/O library. You must
> initialize the standard libraries in your host "C" program before they can
> be used (lua.exe and luac.exe do this for you).
i already did that. the interesting thing is, that only lua_dobuffer does
not work, lua_dofile does!
thank you anyway,