and, as a sidenote, I use always with commandline vars:
$possiblyPassedVar=""+$possiblyPassedVar

which makes it declared.
not sure kix2001 anymore needs that but with 3.6x script crashed if that wasn't taken care of.

then again, if explicit on, why can't you set it after initial var declare like the above?
_________________________
!

download KiXnet