TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To: Simon Wright <[log in to unmask]>
Date: Sun, 2 May 2004 14:21:27 -0700
Reply-To: Jeffrey Carter <[log in to unmask]>
From: Jeffrey Carter <[log in to unmask]>
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=us-ascii; format=flowed
MIME-Version: 1.0
Parts/Attachments: 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