>>I've tested this on my machine running an EXE outside the development environment. The answer appears to be that the constant is re-evaluated at run-time. My test showed the current directory, not the one the exe that was the current default when the exe was compiled. Frankly, I thought the same way you did, but apparently, this isn't the case.
>
>I think were hoping that the constant will be replaced with the SYS functions but not evaluate the sys functions. Tests seem to bare that out. Though it would be nice to be able to look at those constants in the debugger and verify that.
Exactly what I was hoping was really going on. Another example of the value of your wish.
Mark McCasland
Midlothian, TX USA