Brian Legg wrote:I usually put all of my code inside the try block . . .
As often happens, there are several threads with rather similar problems, so I showed an example of such a try yesterday
here. Note that I realised today I had made a mistake (
), so you need to read two of my posts.