puki #1 Could have a look at this code - I've not bothered, I just knew it was in the archives:http://www.blitzbasic.com/codearcs/codearcs.php?code=949