On 4/4/2012 08:02, Honza wrote:
2012/4/4<[email protected]>:
Not the current.

The EXTERNAL variable environ, i.e. the one that the kernel passed on,
which cannot be modified. You can only modify your local copy.

14:00 myname@tux64:~/tmp/c$ ls
a.c  b.c
[trim]
14:00 myname@tux64:~/tmp/c$ ./a.out
a1: (null)
a2: MYVALUE
b: MYVALUE
14:00 myname@tux64:~/tmp/c$

your example shows a shell... i may have added to the confusion because a trick i recall us doing in the DOS days was to change the master environment... after running ./a.out, do you see your MYVAR in the environment via "set | more" or "export | more" or whatever?? most likely you will not see your MYVAR at that point after a.out finishes execution... i believe this is what was being pointed to as not supported...

my apologies if i added confusion...

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to