What he gets probably is a Warning message, right? You get that when a variable has not been set yet. You can avoid this by doing something like this before you really start using it: $VarName = "";
If you don't do that, 'if' statements like "if $VarName == 'moo'" will give that warning. Nothing serious, just annoying.