How Do I- Create an array of points?

Sorry if this is Basic. I am new to UR programming.

How Do I- Create an array of points generated by a program which I can step thru at a later date.

In my application I am setting up a UR5 to perform a vision inspection to find a location and then move to a relative point (this is already working) but I want to access these points from an array later from another general program (not the same program) that just steps thru the locational moves via indirect addressing or some other method.
I plan to have the inspection program to create many arrays and would like to call them via a simple numerical offset at a later date.

Later I would like to store these array points on my PLC or SD card for transfer to another robot later. (but this is a future step placed for context and not part of this question).