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=-0.8 required=5.0 tests=BAYES_00,INVALID_MSGID, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,645dd2b6bc0497bb X-Google-Attributes: gid103376,public From: Laurent.Guerby@enst-bretagne.fr (Laurent Guerby) Subject: Re: ENVIRONMENT VARIABLES: HOW? Date: 1996/03/19 Message-ID: <4xd969t8km.fsf@leibniz.enst-bretagne.fr>#1/1 X-Deja-AN: 143114774 distribution: world sender: guerby@leibniz.enst-bretagne.fr references: content-type: text/plain; charset=US-ASCII organization: Telecom Bretagne mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-03-19T00:00:00+00:00 List-Id: 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)