From: Gautier <Gautier.deMontmollin@Maths.UniNe.CH>
To: Al Lively <al.lively@business.gatech.edu>
Subject: Re: Dos Environment varables
Date: 1999/05/21
Date: 1999-05-21T00:00:00+00:00 [thread overview]
Message-ID: <37458BC1.CC63E63E@Maths.UniNe.CH> (raw)
In-Reply-To: 7i3stm$o4m$1@news-int.gatech.edu
> Can anyone advise how I can access (through Ada code) the contents of local
> environmental variables?
Which compiler, platform ?
With GNAT, you obtain them by the GNAT.OS_lib getenv function.
E.g.
with GNAT.OS_lib;
...
function Get_env_string(name:String) return String is
begin
return GNAT.OS_lib.getenv(name).all;
end;
--
Gautier
--------
http://members.xoom.com/gdemont/
next prev parent reply other threads:[~1999-05-21 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-21 0:00 Dos Environment varables Al Lively
1999-05-21 0:00 ` Keith Thompson
1999-05-21 0:00 ` Gautier [this message]
1999-05-21 0:00 ` Al Lively
1999-05-21 0:00 ` Gautier
1999-05-24 0:00 ` Jeffrey D. Cherry
1999-05-25 0:00 ` Pascal Obry
1999-05-25 0:00 ` Jeffrey D. Cherry
1999-05-22 0:00 ` David Botton
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox