How do you test against a character variable being null?

  • Thread starter Thread starter dandmeveritt
  • Start date Start date
D

dandmeveritt

Guest
Im using case logic but I want to avoid the exception if the user happens to hit enter without entering a choice. how to you test against a char variable being null?
I know its an if/then statement.

How do I code the statement
if choice is null then get get another choice.
 
Back
Top