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,1a066a8221187698,start X-Google-Attributes: gid103376,public From: greerjo@mail.auburn.edu (John M. Greer) Subject: Environment Variables Date: 1997/01/21 Message-ID: <5c1nf9$d3q@ultranews.duc.auburn.edu>#1/1 X-Deja-AN: 211921053 organization: Auburn University Usenet Server newsgroups: comp.lang.ada Date: 1997-01-21T00:00:00+00:00 List-Id: Does anyone know how to access environment variables from Ada code? Specifically, Unix/Linux CGI environment variables from the latest version of GNAT. (Yes, I'm writing CGI in Ada. Please don't write me and remind me that every newline requires a New_Line, as that seems to be a popular response to this question locally :-) On an unrelated note (and this is a classroom question, but it's not doing my homework for me), my professor commented that using WITH, though common in Ada-83, is frowned upon by the industry in Ada 95. Any specific reason for that? (I'm assuming name collisions with types that look similar to the compiler, but I've only been in this class for about a month, so . . .) Thanks for the assist . . . John Greer (who vastly prefers Put to Ada.Text_IO.Put)