Well, I also tried

require "/absolute/path/to/myfile"


and this worked, also... do note that there is no '.lua' at the end of the
path/file name

Mike


On Wed, May 21, 2008 at 12:28 PM, Mike McGonagle <[EMAIL PROTECTED]> wrote:

>
>
> > > self:dofile("myscript.lua").
>>>
>>
> I tried this as the following:
>
> dofile("/absolute/path/to/myfile.lua")
>
> 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.
>
> Mike
>
>
> --
> 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
>



-- 
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
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to