Many thanks! I will process this and let you know how it goes! 
Just for my own knowledge, am I to understand that, given what I am trying to do, the only ways we have are i) global variables, and ii) closures?
Thanks again.