April 25, 2019, 04:16:30 AM

Author Topic: How do you parse files in a directory?  (Read 64 times)

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 171
  • Whoop-de-doo-ba-dooo!
How do you parse files in a directory?
« on: April 07, 2019, 09:52:05 PM »
Hi.  I'd like to learn how to parse files in a directory, but i'm not sure how to attempt this.  Any ideas appreciated.

What i basically want to do is this: (faux code)

Code: [Select]
If filetype(data\ + *.dds) then for eachin data\ store name of ddsfile in a string array.

Thank you.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1953
Re: How do you parse files in a directory?
« Reply #1 on: April 07, 2019, 10:04:11 PM »