[fpc-pascal] environmentstrings in windows
Marco van de Voort
marcov at stack.nl
Thu Dec 14 22:17:38 CET 2006
> 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 ;)
More information about the fpc-pascal
mailing list