I want to use an array to control output values. What can I do?

No, but it can be done quickly enough that you won't notice the difference.