IN operators are used in conditions (if, Repeat and While loops)
IN needs an ordinal variable data type
Integer
Integers do not need quotes.
Char data types need quotes.
For consecutive values the range can be indicated using two DOTS. [5..10] or ['A'..'D'].
For non-consecutive values the values need to be separated with commas. [1,7,9] or ['A','E','I','O','U',' ']
The IN is often used with a NOT as it is easier to test for example, if a variable is not a value from A-Z than to try to test if the value is a number or any of the millions of special characters. Important when using a NOT is that there are brackets around the whole condition after the NOT.
It is important to know how to store a char data type. If the variable was stored as a char but you use the uppercase function, instead of the upcase function, you will get an error since you changed the data type to a string.
IN with consecutive char - note the quotes
IN with consecutive numbers
IN with non-consecutive integers
IN with NOT and non-consecutive chars. Note the brackets around the condition after the NOT.
IN with upcase and a range and non-consecutive chars