comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent.Guerby@enst-bretagne.fr (Laurent Guerby)
Subject: Re: ENVIRONMENT VARIABLES: HOW?
Date: 1996/03/19
Date: 1996-03-19T00:00:00+00:00	[thread overview]
Message-ID: <4xd969t8km.fsf@leibniz.enst-bretagne.fr> (raw)
In-Reply-To: ouivg18uij.fsf@i586.mcneil.com

Sean McNeil writes
: > Can anyone tell me what libraries I may need and/or
: > what syntax is required for me to get environment variables.
: 
: For GNAT 3.03 or earlier, take a look at Ada.Command_Line.Environment.

   Hum, why doesn't GNAT  take advantage of implementation  permission
RM95-A.15(21) :

"(21)
    An alternative declaration is  allowed for package Command_Line if
different functionality  is appropriate   for the external   execution
environment."

   Of course the choosen solution promotes portability (visible non
uportable feature) and I agree with this point of view. But may be if
all vendors agree on the specification ...

   BTW, why such a feature wasn't added directly in Command_Line ?

-- 
--  Laurent Guerby, student at Telecom Bretagne (France), Team Ada
--  "Use the Source, Luke. The Source will be with you, always (GPL)"
--  http://www-eleves.enst-bretagne.fr/~guerby/ (GATO Project)
--  Try GNAT, the GNU Ada 95 compiler (ftp://cs.nyu.edu/pub/gnat)




      reply	other threads:[~1996-03-19  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Do7FCw.yH@aston.ac.uk>
1996-03-18  0:00 ` ENVIRONMENT VARIABLES: HOW? Sean McNeil
1996-03-19  0:00   ` Laurent Guerby [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