How do you use the IF command on a NULL variable???

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
cf1flyboy

How do you use the IF command on a NULL variable???

Post by cf1flyboy » Fri Jul 09, 2004 3:58 pm

I am Using the MidStr command to read in two variables, and then I do a compare on them to see if they are the same. I would like to skip to the next line if either of the two values are Null, but I am unable to come up with an If statment that will work with Null.
Any Suggestions??
Thanks
cf1flyboy

Lumumba

Post by Lumumba » Fri Jul 09, 2004 8:38 pm

A stringvar with no content (NULL) would create a StringLen command would be an option to compare empty stringvars, correct ?

:wink:

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts