Hi Again, I am trying to use the array feature of pascal to hold a group of gate addresses, anyone used arrays before....how to put values in and get them out. Or is there an easier way to get a random list of gate addresses and then iterate through them turning each on and off then do the next one and so on.