Bill Stanbrook #1 Here's some code I just posted to the code archives which may answer some of your questions.http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=1137