Marco van de Voort schreef:
On Thu, 14 Dec 2006, Vincent Snijders wrote:
The first two envrionment string are special, in the sense that their name
start with a =.

but if ask for the value of the environment variable '=D:', it returns the
empty string.

I am wrestling a bit with how to interprete this. Should I consider these
variable as special and hidden and ignore them?
Or should code parsing environmentstrings be able to handle variables with a
'=' on the first position?
IMHO, you should not be allowed to have a = in the name of an environment
variable at all. Since obviously you can in Windows,

Maybe you can't, and you can only have multiple env strings with an empty
name ;)

So I get at least one, if I do GetEnvironmentVariable(''); ?

Vincent
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to