forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

System.listDirectory()

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
MagicianFB



Joined: 10 Oct 2005
Posts: 11

PostPosted: Mon Oct 10, 2005 8:54 am    Post subject: System.listDirectory() Reply with quote

Does any one know how this works?
When I do this:
Code:
listdir = System.listDirectory()
table.foreach(listdir, print)

All the values are some thing like this:
Quote:
table: 0x89a6b78
Back to top
View user's profile Send private message
MagicianFB



Joined: 10 Oct 2005
Posts: 11

PostPosted: Mon Oct 10, 2005 9:08 am    Post subject: Reply with quote

Nevermind, ignore the above.
Now I need to know how come every indice of listdir is an empty table.
Back to top
View user's profile Send private message
flattspott



Joined: 22 Aug 2005
Posts: 22

PostPosted: Mon Oct 10, 2005 10:51 am    Post subject: Reply with quote

maybe it should be something like so..

System.listDirectory( path )
Back to top
View user's profile Send private message
MagicianFB



Joined: 10 Oct 2005
Posts: 11

PostPosted: Mon Oct 10, 2005 11:15 am    Post subject: Reply with quote

flattspott wrote:
maybe it should be something like so..

System.listDirectory( path )

I think if you don't have the path it just does the current directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group