Al ......

You rock !! Woooohoooo :-)

Ok GOTO was the bug !
for clearing the var's
A0=A0-1 is solution for strange numbers appearing after first keypress.
this problem is caused by the # value ( and the A,B,C,D keys would cause the same issue)

I no longer need to run the code through the retry label anymore ..yay less code! :-)

Any further thoughts mods etc ?

Dennis