Ahh, I had this problem before and I guess I solved it, but I forgot....
You can't use the = operator for structures, and I guess you cant use Is Nothing... So lets say I have a structure, how can I check to see whether it is empty or not?
Printable View
Ahh, I had this problem before and I guess I solved it, but I forgot....
You can't use the = operator for structures, and I guess you cant use Is Nothing... So lets say I have a structure, how can I check to see whether it is empty or not?
Structures CAN'T be empty! - a structure must contain at least one instance member variable or Event declaration.
yeah
You could put a boolean value inside the structure to indicate whether the data has been set.
I didnt mean that:) Hu Flung Dung got the idea ;)Quote:
Originally posted by cim3
Structures CAN'T be empty! - a structure must contain at least one instance member variable or Event declaration.
well I guess vb.net doesnt provide a way, I'll make my own boolean var. tnx :)