Apologies if this subject has come up before but much searching hasn't produced anything of any use.

I currently have a program which reads data in from a specific file and then processes it etc etc but what I need to be able to do is somehow put a loop around the outside of the macro to run this for every file in the directory.

Surely this must be possible but I'm getting nowhere near knowing how to start even.

Any hints would be great (or if I haven't explained myself very well I can try and clarify; writing in any language isn't my strong point).

Thanks very much, Gen.

10 Years
Discussion Span
Last Post by GenS

Cheers very much.

Code is sorted now. Just got to persuade Root's interpreter it DOES know what dirent is and it will include it.

Thanks again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.