From: "Tarjei T. Jensen" <tarjei@online.no>
Subject: Re: Using Text_Io.Open
Date: 1997/11/10
Date: 1997-11-10T00:00:00+00:00 [thread overview]
Message-ID: <34674800.5057@online.no> (raw)
In-Reply-To: Pine.GSO.3.95.971110170857.578D-100000@dcsun4.comp.brad.ac.uk
AA HOLMES wrote:
>
> Hello. I'm a student studying Ada in a Unix enviroment.
> When you open files using Text_Io.Open command you can specify a path name
> for the file. Unfortunatly I want to use the '~' to specify the directory
> /home/(user)
> user been the users login name. So far I have to recompile the source
> everytime Someone asks for a copy of my program.
> So for example if someone with login name psdrayto asked for a copy, I
> would have to change the file name to /home/psdrayto/config and then
> recompile. Is there a way to use system Variables or shortcuts in Ada ?
>
I belive that with GNAT command line stuff has an extension that allows
you to have a look at environment variables. I belive that ACT has some
online documentation at http://www.gnat.com.
If I'm wrong about the documentation the compiler and some documentation
is available from ftp://cs.nyu.edu/pub/gnat.
Greetings,
--
// Tarjei T. Jensen
// tarjei@online.no || voice +47 51 62 85 58
// Support you local rescue centre: GET LOST!
prev parent reply other threads:[~1997-11-10 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-10 0:00 Using Text_Io.Open AA HOLMES
1997-11-10 0:00 ` David Weller
1997-11-10 0:00 ` Tarjei T. Jensen [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox