comp.lang.ada
 help / color / mirror / Atom feed
* Environment Variables
@ 1997-01-21  0:00 John M. Greer
  1997-01-24  0:00 ` Matthew Heaney
                   ` (4 more replies)
  0 siblings, 5 replies; 41+ messages in thread
From: John M. Greer @ 1997-01-21  0:00 UTC (permalink / raw)



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)





^ permalink raw reply	[flat|nested] 41+ messages in thread
* Environment variables
@ 1996-10-30  0:00 Christopher J Arnold
  1996-10-30  0:00 ` David Taylor
                   ` (4 more replies)
  0 siblings, 5 replies; 41+ messages in thread
From: Christopher J Arnold @ 1996-10-30  0:00 UTC (permalink / raw)



Ok, some one please help me.

All I want to do is to be able to read the value of environment 
variables, such as PATH for example.  I've looked around at FAQ's and the 
adahome reference pages, but I haven't found anything.

Thanks in advance.

Chris Arnold,
carnold@runet.edu




^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~1997-02-08  0:00 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-21  0:00 Environment Variables John M. Greer
1997-01-24  0:00 ` Matthew Heaney
1997-01-25  0:00   ` Robert Dewar
1997-01-24  0:00 ` Mike Bishop
1997-01-25  0:00 ` Doug Smith
1997-01-27  0:00 ` Frowining upon with clauses (was:Re: Environment Variables) Norman H. Cohen
1997-02-08  0:00   ` Robert Dewar
1997-01-27  0:00 ` Environment Variables David Emery
  -- strict thread matches above, loose matches on Subject: below --
1996-10-30  0:00 Environment variables Christopher J Arnold
1996-10-30  0:00 ` David Taylor
1996-10-30  0:00 ` David Emery
1996-10-30  0:00   ` Robert Dewar
1996-10-30  0:00   ` Laurent Guerby
1996-11-02  0:00     ` Keith Thompson
1996-11-01  0:00   ` David Shochat
1996-11-02  0:00     ` Larry Kilgallen
1996-11-04  0:00       ` Michael F Brenner
1996-11-04  0:00         ` Larry Kilgallen
1996-11-12  0:00         ` Robert Dewar
1996-11-13  0:00           ` Norman H. Cohen
1996-11-01  0:00   ` Stephen Leake
1996-11-02  0:00     ` Robert Dewar
1996-11-03  0:00       ` Robert A Duff
1996-11-03  0:00         ` Robert Dewar
1996-11-04  0:00           ` Stephen Leake
1996-11-04  0:00             ` Larry Kilgallen
1996-11-04  0:00             ` Robert Dewar
1996-11-04  0:00         ` Tucker Taft
1996-11-01  0:00   ` Laurent Guerby
1996-11-02  0:00     ` Robert Dewar
1996-11-02  0:00     ` Robert A Duff
1996-11-01  0:00   ` Norman H. Cohen
1996-11-05  0:00   ` David Emery
1996-10-31  0:00 ` James Rogers
1996-10-31  0:00 ` Robert I. Eachus
1996-10-31  0:00   ` Doug Smith
1996-11-03  0:00   ` Matthew Heaney
1996-10-31  0:00 ` Norman H. Cohen
1996-11-06  0:00   ` David Wheeler
1996-11-08  0:00     ` Christopher J Arnold
1996-11-09  0:00     ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox