See my response in this thread http://www.picbasic.co.uk/forum/showthread.php?t=11285.