TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Jeffrey Carter <[log in to unmask]>
Sun, 2 May 2004 14:21:27 -0700
text/plain (25 lines)
Simon Wright wrote:
>>From: Rick Duley <[log in to unmask]>
>>I am currently working on some language analysis software (both
>>natural language and code) for use in my doctoral research.  It
>>would be ideal if I could set an application up to work its way
>>through all the files in a folder automatically - that is, set it to
>>work on a folder full of files and it will automatically process
>>each of the files in the folder in succession.
>>Does anyone have any idea of how this can be done?
> This is a recursive directory search using GNAT.Directory_Operations:

The OP might prefer to do this using Ada0y.Directories, which is an
implementation of Ada.Directories, which will be part of Ada0X. It's
available from Martin Dowie. I don't have a link available right now,
but could mail the source on request.

Jeff Carter
"I soiled my armor, I was so scared."
Monty Python & the Holy Grail