I constantly try to improve my scripts. I have a generic question:

In a callback this compiles well

```
On ControlChangeEvent(m : ControlChangeMessage) Matching 10,15,19
```

and in a function also this is allowed

`If AnyVariable in [10..19] then`

**But what would be the best way to check if AnyVariable contains any of the specific values 10, 15, or 19?**

I’m asking because neither of these examples compiles:

```
If AnyVariable in [10,15,19] then
If AnyVariable in [10..15..19] then
If AnyVariable in 10,15,19 then
```

I’ve come up with the following solution but wonder if there is any easier code (also in terms of computation speed)?

```
var TestArray : Integer Array = [10,15,19]
If IndexOf(TestArray, AnyVariable) >= 0 then
```

(The 3 entries of the array are just an example. In my case there are 50+.)

Thanks!