From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54b43bce78b18737 X-Google-Attributes: gid103376,public From: Gautier Subject: Re: Dos Environment varables Date: 1999/05/21 Message-ID: <37458BC1.CC63E63E@Maths.UniNe.CH>#1/1 X-Deja-AN: 480577645 Content-Transfer-Encoding: 7bit References: <7i3stm$o4m$1@news-int.gatech.edu> To: Al Lively Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-21T00:00:00+00:00 List-Id: > 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/