http://www.picbasic.co.uk/forum/showthread.php?t=5418

http://www.picbasic.co.uk/forum/showthread.php?t=5418&page=5&p=77423#post77423