I belive this post will help you.
Or this one:
My recommendation is to use an UDT and create one of those for each value on the array.