Hi,

Cheers for taking the time to look at it. Seems it takes some time before the threads are posted here? Since that variant of it changes were made, I was over complicating it. In the end I think the code was quite simple. Or 'cleaner' anyway. (both int and j were remainder from my earlier prog as i was amending that one instead of writing from fresh)

the "press ret to cont" bit, I tried it as you said and it wouldn't compile, so i've reverted to adding the 'ch' again.
I don't understand why it doesn't work.

[IMG]file:///C:/Users/steve/AppData/Local/Temp/moz-screenshot-5.png[/IMG]