9 posts
Posted 09 April 2012 - 11:37 PM
Like the "list" program instead I would like it in a table and I would like to format it in my custom OS.
thanks!
1604 posts
Posted 09 April 2012 - 11:40 PM
The best advice that comes to my mind: check the list program source to know how it works. It actually gets the files and directories in a table (fs.list(path) returns a table) and then sorts it.
9 posts
Posted 09 April 2012 - 11:44 PM
The best advice that comes to my mind: check the list program source to know how it works. It actually gets the files and directories in a table (fs.list(path) returns a table) and then sorts it.
thats what I would do without wasting your time but I don't have access to the source because I am using Tekkit and when I run the command "edit list" the program is empty.
also thank you for not just giving me the code. I prefer to learn the syntax and proper use through documentation.
454 posts
Location
London
Posted 10 April 2012 - 12:03 AM
You can't edit list, because it doesn't exist (in the root directory).
You need to edit the file, which is located in:
rom/programs/
9 posts
Posted 10 April 2012 - 12:08 AM
You can't edit list, because it doesn't exist (in the root directory).
You need to edit the file, which is located in:
rom/programs/
doh! I should've known that. thank you for clearing that up.