Re: get_key() with backspace
- Posted by Kevin Sieger <simkin at ZEBRA.NET> Mar 28, 1998
- 1120 views
Thanks, will try later when I'm not wasting my time doing other things. Wave! Kevin Mathew Hounsell wrote: > It was basically said: > I need to use get_key() to read a string. I want to delete a character on the sc > reen > if backspace (Key 8) is pressed. > > Read carefully as this may help a lot of people, > > Using DOS32, 14 when sent to the screen deletes the character before it. > > I think it works like that with puts(), I can't check as my net connections vi a > a > mac, as you may have guessed. eg puts(1, 14) Otherwise the only thing you can do > is use position() to put a NULL over the character that was removed and move t he > cursor back using position( ) again. It's annoying but it works. > I have no Idea about WIN32 as I don't have WIN4+. > > --- > Sincerely, > Mathew Hounsell > Mat.Hounsell at mailexcite.com > > Free web-based email, Forever, From anywhere! > http://www.mailexcite.com