Go to the following thread : http://www.picbasic.co.uk/forum/showthread.php?t=10637

You will find the code for different examples. In post#9 you will find my working snippet for an entry password.

Al.