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; 8+ 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] 8+ messages in thread

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

Thread overview: 8+ 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

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