Beaker #1 You could probably adapt this to do what you want:http://www.blitzbasic.com/codearcs/codearcs.php?code=793