in reply to Check this code please?

In addition to excellent points by Corion, here's a few more:

-- Ken