If statements in array

Thank you so much for your help! And sorry for the late response. I did not receive a notification unfortunately. This solves my problem of having to create multiple integers for each new state the program executed.

Many thanks!

2 Likes