in reply to What's wrong with this local() ?

D'oh! D'oh! D'oh! Thanks everyone.