Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-28-2003, 05:25 AM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
IndexFiles(dir,ext)

IndexFiles(dir,ext,string)

Creates a space delimited string array of filenames, minus the extensions, in a given directory

dir - A subdirectory of the levels directory, for example, IndexFiles(webgifs,ext) would get you to the webgifs folder

ext - the file extention to list

string - the string to write the list to

examples:

IndexFiles(midis,mid,client.midi);

would list all of the midi files in the graal2001/levels/midis folder, and write them to the client.midi string

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.