YOU can "SELECT CASE", as in
variable_a = 5
Select Case variable_a
Case 1 To 5
MSGBOX("Between 1 and 5, inclusive")
' The following is the only Case clause that evaluates to True.
Case 6, 7, 8
MSGBOX("Between 6 and 8, inclusive")
It is that simple!
BTW, this is just a table, or a matrix. If it were an array, it would be in the form of:
and so on, storing the values in a variable of VALUE_A, at an index (always starts with 0)!!! So, if I wanted to access the value at the 255 index of VALUE-A, I would say:
Have FUN! Let us know if you get stuck!