It's worth noting that for this to work like seen on this image (arraying something horizontally) you have to type "90" and press enter after clicking the "Z" button below the position data. I admit that little window is not very intuitive, but once you know that it's super easy. Hope this helps.
Cheers!