Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.lang.pascal Subject: Re: Extracting from a unit (or CRT vs. ANSI) Message-ID: <1991Apr4.174045.11963@uwasa.fi> Date: 4 Apr 91 17:40:45 GMT Article-I.D.: uwasa.1991Apr4.174045.11963 References: <26447@adm.brl.mil> Organization: University of Vaasa Lines: 22 In article <26447@adm.brl.mil> 209507097@ucis.vill.edu (MCREE, JAMES F) writes: > > I need to use the "KeyPressed" and "ReadKey" functions in CRT in Turbo >5.0, but can't use the CRT unit because it will cause the program to ignore the >meaning of my ANSI codes. There are three general ways that I can think of for >getting this to work. : : >However, there is a problem. At the moment, I don't know how to do any of >these. Any ideas out there? Feel free to add on 4,5,... ideas. This problem (and many other TP routine problems that keep popping up in comp.lang.pascal) has already been solved quite awhile ago for public consumption. Download the /pc/ts/tspa23##.arc Turbo Pascal units collection (##=40,50,55,60) from our archives for these routines, and many others. ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun