comp.lang.ada
 help / color / mirror / Atom feed
* Re: accessing environment variables
  2002-11-06 15:22 accessing environment variables evangeli
@ 2002-11-06 14:32 ` David C. Hoos
  2002-11-06 15:47   ` evangeli
  0 siblings, 1 reply; 5+ messages in thread
From: David C. Hoos @ 2002-11-06 14:32 UTC (permalink / raw)


Yes.

If you want to know how to do it, you need to tell us
what compiler you're using, because there are differences.

----- Original Message ----- 
From: "evangeli" <evangeli@cnam.fr>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Wednesday, November 06, 2002 9:22 AM
Subject: accessing environment variables


> hi all
> 
> is it possible to access environment variables?
> 
> Sami Evangelista
> 
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 




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

* Re: accessing environment variables
  2002-11-06 15:47   ` evangeli
@ 2002-11-06 15:17     ` sk
  2002-11-06 16:32       ` evangeli
  0 siblings, 1 reply; 5+ messages in thread
From: sk @ 2002-11-06 15:17 UTC (permalink / raw)


Hi,

> i am under linux
>
> gnatls -v =>
>

Ada.Command_Line.Environment

    function Environment_Count return Natural;

    function Environment_Value (Number : in Positive) return String;

... OR ...

Gnat.Os_Lib

    function Getenv (Name : String) return String_Access;

    procedure Setenv (Name : String; Value : String);

-- 
-------------------------------------
-- Merge vertically for real address
-------------------------------------
s n p @ t . o
 k i e k c c m
-------------------------------------



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

* accessing environment variables
@ 2002-11-06 15:22 evangeli
  2002-11-06 14:32 ` David C. Hoos
  0 siblings, 1 reply; 5+ messages in thread
From: evangeli @ 2002-11-06 15:22 UTC (permalink / raw)


hi all

is it possible to access environment variables?

Sami Evangelista




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

* Re: accessing environment variables
  2002-11-06 14:32 ` David C. Hoos
@ 2002-11-06 15:47   ` evangeli
  2002-11-06 15:17     ` sk
  0 siblings, 1 reply; 5+ messages in thread
From: evangeli @ 2002-11-06 15:47 UTC (permalink / raw)


i am under linux

gnatls -v =>
-------------------------------------------------------------------------
GNATLS 3.13p  (20000509) Copyright 1997-1999 Free Software Foundation, Inc
-------------------------------------------------------------------------




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

* Re: accessing environment variables
  2002-11-06 15:17     ` sk
@ 2002-11-06 16:32       ` evangeli
  0 siblings, 0 replies; 5+ messages in thread
From: evangeli @ 2002-11-06 16:32 UTC (permalink / raw)


thanks

sk wrote:

> Hi,
> 
> 
>>i am under linux
>>
>>gnatls -v =>
>>
> 
> Ada.Command_Line.Environment
> 
>     function Environment_Count return Natural;
> 
>     function Environment_Value (Number : in Positive) return String;
> 
> ... OR ...
> 
> Gnat.Os_Lib
> 
>     function Getenv (Name : String) return String_Access;
> 
>     procedure Setenv (Name : String; Value : String);
> 
> 




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

end of thread, other threads:[~2002-11-06 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 15:22 accessing environment variables evangeli
2002-11-06 14:32 ` David C. Hoos
2002-11-06 15:47   ` evangeli
2002-11-06 15:17     ` sk
2002-11-06 16:32       ` evangeli

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