From: Ray G. <ray...@sc...> - 2005-06-19 23:19:51
|
Currently we do not set the LUA_PATH when we run scripts. =20 So the require() fn does not correctly find modules. =20 I have added GetLuaPath(), AddLuaPath() to my wxLuaInterpreter object, can I add it to wxLua? =20 BTW=20 =20 I currently only add script path - But should we have standard wxLua search path? Should it search OS PATH? Are there other paths it should search by default, e.g. <app>/lua/?.lua; <script>/lua/?.lua; =20 Ray =20 =20 |