In Addition: When dealing with user input, if the user enters some text like a name, then it's generally best that our programs force the case of the input to either lower or upper before making the required comparisons.
ie.
if InputName$="Bill"
print "Hello Bill"
endif
This code would only function as we expect, when the user enters Bill with a capital B, it'd fail in every other combination.
where as forcing it to lower and comparing the text with the lower case literal of "bill" this time, would catch all the combinations of BILL that are possible.
if lower$(InputName$)="bill"
print "Hello Bill"
endif
if you need to do a bunch of string compares then it's generally worth create a temp string and comparing everything to that.
LowerCase_InputName$ =lower$(InputName$)
if LowerCase_InputName$="bill"
print "Hello Bill"
endif
if LowerCase_InputName$="dude"
print "Hello Dude"
endif
etc etc