lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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,
matt