comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent Guerby <guerby@acm.org>
Subject: Re: Reading Filenames
Date: 2000/01/29
Date: 2000-01-29T18:46:18+00:00	[thread overview]
Message-ID: <864sbwn1x5.fsf@ppp-162-235.villette.club-internet.fr> (raw)
In-Reply-To: 86v59u$l05$1@newsg3.svr.pol.co.uk

"-=[CheecH]=-" <cheech@chongs.freeserve.co.uk> writes:
> I want to write a little programme which can read in all the
> filenames in a directory and write them to a text file.  But I have
> have no idea how to read all the names in.  Can any one help please.

If you use GNAT look for the file g-dirope.ads in your adainclude directory:

<<
--  This package provides routines for manipulating directories. A directory
--  can be treated as a file, using open and close routines, and a scanning
--  routine is provided for iterating through the entries in a directory.

package GNAT.Directory_Operations is
>>

--LG




  reply	other threads:[~2000-01-29  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-29  0:00 Reading Filenames -=[CheecH]=-
2000-01-29  0:00 ` Laurent Guerby [this message]
2000-01-29  0:00 ` David
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox