comp.lang.ada
 help / color / mirror / Atom feed
From: "M. A. Alves" <maa@liacc.up.pt>
To: <comp.lang.ada@ada.eu.org>
Subject: Re: Directory listings and path names
Date: Thu, 17 Jan 2002 13:00:13 +0000 (GMT)
Date: 2002-01-17T13:00:13+00:00	[thread overview]
Message-ID: <mailman.1011272402.4350.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: <a26c3l$fuu$1@nyheter.chalmers.se>

On Thu, 17 Jan 2002, Andreas Valdusson wrote:
> If I have the name of a directory, and want ADA to get the names of
> all sub-directories of this one, how do I do? How do I get the
> contents of a specific directory (ie. the names for all subdirectories
> and files) and how do I know which of these that are sub-directories
> an which are files?

These are services of the Operating System, not of Ada (the programming
language), neither of the American Dental Association. You can call the OS
services from an Ada program, thru a _binding_. I bet you can find a
couple of packages implementing such bindings freely available on the
Internet. If you are using GNAT, you already have it: GNAT.OS_Lib :-)

-- 
   ,
 M A R I O   data miner, LIACC, room 221   tel 351+226078830, ext 121
 A M A D O   Rua Campo Alegre, 823         fax 351+226003654
 A L V E S   P-4150-180 PORTO, Portugal    mob 351+939354002





  reply	other threads:[~2002-01-17 13:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-17 11:21 Directory listings and path names Andreas Valdusson
2002-01-17 13:00 ` M. A. Alves [this message]
2002-01-18 22:58   ` Brian Rogoff
2002-01-19  3:03     ` Larry Kilgallen
2002-01-19 14:28       ` Robert A Duff
2002-01-19 22:45         ` Brian Rogoff
2002-01-19 23:02           ` Nick Roberts
2002-01-22 14:45           ` Stephen Leake
2002-01-22 16:50             ` Brian Rogoff
2002-01-22 17:03               ` Jean-Marc Bourguet
2002-01-22 17:57             ` tmoran
2002-01-22 18:40               ` Larry Kilgallen
2002-01-19 14:20     ` Georg Bauhaus
2002-01-22 16:36     ` Marin David Condic
2002-01-23 13:47       ` Jean-Pierre Rosen
2002-01-23 14:32         ` Marin David Condic
2002-01-23 16:23           ` Jean-Pierre Rosen
2002-01-23 17:27       ` Mark Biggar
2002-01-23 18:24         ` Marin David Condic
2002-01-23 20:49           ` tmoran
2002-01-23 22:02             ` Robert A Duff
2002-01-23 22:35             ` Darren New
2002-01-23 23:00             ` Marin David Condic
2002-01-24 15:03               ` M. A. Alves
2002-01-23 23:20         ` Nick Roberts
2002-01-25  7:54           ` tgingold
2002-01-25 12:55             ` Larry Kilgallen
2002-01-25  0:17       ` Brian Rogoff
2002-01-25 14:47         ` Marin David Condic
2002-01-18 13:09 ` Joachim Schröer
     [not found] <Pine.LNX.4.33.0201171247440.8403-100000@lagoa.niaad.liacc.up.pt>
2002-01-17 14:26 ` M. A. Alves
replies disabled

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