Posted 20 October 2014 - 01:21 PM
So I want to make loads of programs that are put in a folder called: /programs/ but I want to be able to get the root directory again, to talk to the main program? how do I do this? as HTML uses:
../main.lua (for example)
example:
how do i get the test1.lua to get to the main.lua in the root?
../main.lua (for example)
example:
/
- programs/
- test1.lua
- games/
- game1.lua
- game2.lua
- apis/
- main.lua
- startup
how do i get the test1.lua to get to the main.lua in the root?
Edited on 20 October 2014 - 11:21 AM