http://www.oxeyegames.com/wiki/index.php?title=GetFolderContents&feed=atom&action=historyGetFolderContents - Revision history2024-03-29T09:10:50ZRevision history for this page on the wikiMediaWiki 1.16.0http://www.oxeyegames.com/wiki/index.php?title=GetFolderContents&diff=340&oldid=prevThewreck: Created page with '{{DaisyMethod | daisy.getFolderContents(folderName [, extensionFilter]) | This method returns the contents of a folder as a lua table. | {{MethodParam|folderName|A string|The nam...'2010-01-18T16:42:16Z<p>Created page with '{{DaisyMethod | daisy.getFolderContents(folderName [, extensionFilter]) | This method returns the contents of a folder as a lua table. | {{MethodParam|folderName|A string|The nam...'</p>
<p><b>New page</b></p><div>{{DaisyMethod |<br />
daisy.getFolderContents(folderName [, extensionFilter])<br />
|<br />
This method returns the contents of a folder as a lua table.<br />
|<br />
{{MethodParam|folderName|A string|The name of the folder to look in. Relative to the execution directory. The name is case sensitive on Mac OS X.}}<br />
{{MethodParam|extensionFilter|A string|Specified to filter for a certain file extension type.}}<br />
|<br />
Returns a number indexed table containing the folder and file-names as strings.<br />
}}<br />
=== Example ===<br />
<pre><br />
local sourceFiles = daisy.getFolderContents("daisyMoon")<br />
<br />
local saveGames = daisy.getFolderContents("saves", "*.saveGame")<br />
</pre></div>Thewreck