[PD] Lua: request for 'require'...

Mike McGonagle mjmogo at gmail.com
Wed May 21 19:28:23 CEST 2008

> > self:dofile("myscript.lua").
I tried this as the following:


and this works...

> package.path = "/my/pdlua/files/?.lua;" .. package.path
I also tried this as follows

package.path = "/absolute/path/to/?.lua;" .. package.path
require "myfile.lua"

and this works...

Thanks for your help.


Peace may sound simple—one beautiful word— but it requires everything we
have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080521/e813f92f/attachment.htm>

More information about the Pd-list mailing list