how to store different values of a pot to be called up latter?

ElChiguete:
well can you tell me about the STL too?

The STL is the Standard Template Library. Without getting into all the fun about how great templates are, this is a series of containers from fairly simple to fairly complex. But, the complexity is largely hidden from the developer. This are not the easiest library to use, but its not the hardest either.

A "container" is a fancy way of saying that its some code that holds and organizes data. With the STL, you can have items sorted, indexed and organized for fast searching in varying ways. Which way you pick will depend on how you want to organize you r data and how you want to search it. What does not matter is what type of data it is (thanks to the magic of templates). The STL works equally well - and the same way - with all kinds of data.

If you want to store your samples in order, you would use a Vector.

There is an implementation of the STL for Arduino here:

If you want to learn more about the STL in general, then Google it and you'll find a wealth of information.