Set an array in 4.9 (and switch)

I watched a youtube tutorial and somebody is setting arrays with an easy approach (september 2014) and a switch. He uses the switch to set different screen “modes” (main menu, pause, options…). But the nodes to set arrays and the one of the switch where completely redesigned and I have no clue to do this nowadays.

I would appreciate every bit of help!