Tip #2 should be what you need.
http://www.picbasic.co.uk/forum/cont...ips-and-Tricks