Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!arizona!naucse!mvaxcs1.cse.nau.edu!jbb From: jbb@mvaxcs1.cse.nau.edu (Jon Bonnell) Newsgroups: comp.lang.pascal Subject: Reading Graphics in TP Pascal Message-ID: <3828@naucse.cse.nau.edu> Date: 17 Jun 91 17:53:27 GMT Sender: news@naucse.cse.nau.edu Organization: Northern Arizona University, Flagstaff AZ Lines: 25 Nntp-Posting-Host: mvaxcs1.cse.nau.edu Originator: jbb@mvaxcs1.cse.nau.edu In article <1991Jun14.150309.5126@cunixf.cc.columbia.edu> stone@cunixb.cc.columbia.edu (Glenn Stone) writes: >There must an easy way to do this but I seem to have a mental block. >I'm writing a graphics mode equivalent of READLN(StringVariable) in >TP 5.5. This loop reads characters and tacks them onto a string >called T. The problem is in dealing with the backspace; I want the >pointer to back up and erase the last character, but the ' ' in >graphics mode doesn't do this. I need the equivalent of ClrEol. >How do you do it? Thanks in advance... > Glenn Stone BITNET: stone@cunixc > Columbia University INTERNET: stone@cunixb.cc.columbia.edu >------------------------------------------------------------------------- Try the Unit CRTG.ZIP on Garbo. It redefines the CRT Unit of Turbo Pascal in Graphics Mode (combination of CRT and GRAPH). I dont know if it will fix this exact problem but you might want to take a look instead of reinventing another solution. -- Jon Bonnell "Like I always say -- jbb@mvaxcs1.cse.nau.edu Why Jack off when you can jack in?" Disclaimer :NAU has no opinion and I have mine...