Hi Stoney, I've modified your reply so that the pascal code becomes more clear.