Vous êtes sur la page 1sur 1


;y := "" ; This would suppress the warning.

x := y ; y hasn't been assigned a value.
UseEnv: Warn when an environment variable is automatically used in place of an empty script
variable. This sometimes occurs when an environment variable's name unexpectedly matches a
variable used by the script. This warning occurs when the variable is accessed, but never occurs
if the script enables #NoEnv (recommended for multiple reasons).
;#NoEnv ; Add this if "temp" is not intended to be an environment
;EnvGet temp, TEMP ; This would copy the environment variable's value into
the script variable.
temp := "" ; Despite this line, temp still seems to have a value.
MsgBox % temp ; This accesses the environment variable named "TEMP".