in reply to Coding while drunk

Thanks for the replies, I've now got an excuse to get drunk more often :) (just kidding there btw).

With regard to being out of my depth and my dubious use of the word 'solved', as I said unless I can figure out why it works it may as-well be something someone else wrote .

So until I get a good grip on this it may be wise for me to turn off the PC if I decide to have a drink, I'd hate to code something 'truly wondrous' and not understand it the next day :p