Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement