Just for clarification, can multiple Else statements be done? For instance (i took this from the help file): If $var > 0 Then
MsgBox(4096,"", "Value is positive.")
ElseIf $var < 0 Then
MsgBox(4096,"", "Value is negative.")
Else
If StringIsXDigit ($var) Then
MsgBox(4096,"", "Value might be hexadecimal!")
Else
MsgBox(4096,"", "Value is either a string or is zero.");<----instead of ending it here, could it continue indefinitely
;by continuously adding if else ?
EndIf
EndIf The help file says that Switch case would be the best if i wanted to compare 1 expression against multiple values, however, I am confused as to how a switch case works which is why im more inclined to use a if then else statement. If multiple else statements cannot be done, could someone kindly explain how switch case works? Or point me to an easier to understand help file as I am new.