|
-
Apr 1st, 2004, 02:50 PM
#1
Thread Starter
Frenzied Member
Is Nothing??
How do you do an Is Nothing like in VB.NET?
Last edited by wey97; Nov 10th, 2004 at 09:48 AM.
-
Apr 1st, 2004, 03:31 PM
#2
Addicted Member
-
Apr 4th, 2004, 12:02 PM
#3
Frenzied Member
helpfull tip: stucts can't be tested for null and neither can int I think it's int anyway.
I usually do more then one check to make certian.
Code:
if(stringVar != null && stringVar != ""){return true;}
it isn't supposed to be required, either test should work, but I like to be sure of things. Also, back in vb6 Microsoft said a lot of things worked one way, and they flat out didn't and weird things would happen like the exact same code would work in one place and not in another, but that usually inloved strings.
Magiaus
If I helped give me some points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|