You can find the "final" version in the code examples section:

http://www.picbasic.co.uk/forum/show...=3041#post3041

regards:

Ralph