Read in the manual or Help file about arrays. They will do what you want.