This should answer your question
http://www.picbasic.co.uk/forum/showthread.php?t=12870