[Tutor] does a variable exist?

Henry Porter porterh@yahoo.com
Tue, 5 Mar 2002 13:19:56 -0600 (CST)


I want to see if a variable exists in my program.  The variable is getting
set within an 'if' statement, so sometimes it exists afterwards, but not
always.  Is there a way to check for this besides just initializing it to
something at the top of the program?

Thanks for any help,
Henry