1. getenv ??

Rob which enviornment variable does getenv function return from.

The current enviorment, the active enviornment, or the master enviornment ??

new topic     » topic index » view message » categorize

2. Re: getenv ??

Bernie Ryan writes:
> Rob which enviornment variable does getenv function return
> from. The current enviorment, the active enviornment, or the
> master enviornment ??

I'm not really familiar with those terms.
Why don't you run the following 1-line program as a test:

test.ex:

     puts(1, getenv("XXX"))

If you type:

     set xxx=999
     ex test

it will print 999, so it must be using the latest, up-to-date
version of the environment.

On Windows NT things are a bit more complicated.
There are Windows environment variables that are not
readable by DOS programs.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

3. Re: getenv ??

Rob
   Thanks
Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu