Thank you.
Your right it is a bit confusing, but I will try read a bit about each procedure in the manuals and try to figure it out.
If anyone would like to start me with a little explanation about the structure (i.e. procedures, {*} symbols, loops, etc) in this example, it would be welcome.
Thanks again.
JS