Re: [wxlua-users] relative paths

2009-09-07 Thread Attila
As John said you can use them, and I can affirm this. Use the following form everywhere you need, eg.: wx.wxFile("./subdir/file.ext") It will work with standard Lua calls like: io.open("./subdir/file.ext") The / sign is accepted on Linux and Windows as well. The base dir is always that directo

Re: [wxlua-users] relative paths

2009-09-07 Thread John Labenski
On Mon, Sep 7, 2009 at 11:15 AM, Daniel Aquino wrote: > is it possible to use relative paths ? It probably depends what you're using the paths with? The wxFileName class or something else? > imagine i have a top level folder and then sub folders... > > if i just want to point to a sub folder can

[wxlua-users] relative paths

2009-09-07 Thread Daniel Aquino
is it possible to use relative paths ? imagine i have a top level folder and then sub folders... if i just want to point to a sub folder can i do that ? or do i have to build something like $current_Dir/sub ? -- Let C