PDA

View Full Version : Checking if a variable of type "Object" is empty


aalberto
04-01-2008, 06:49 PM
Hi, I'm a new member on this forum. I have a question: I'm trying to create a class-level function that checks if a class-level variable is not set to anything (<None>). However, I don't see any place in the software that will allow me to set an If-Else block to check if a variable is <None>. How can I do this? Thank you in advance for your help.

Lprsti99
04-03-2008, 01:36 PM
Try creating another variable, set to none, and then comparing the original variable to the empty one.