Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!tygra!dave From: dave@tygra.UUCP (David Conrad) Newsgroups: comp.lang.pascal Subject: Re: CTRL-Characters Message-ID: <1991Mar28.102134.12451@tygra.UUCP> Date: 28 Mar 91 10:21:34 GMT References: <1991Mar27.160905.1962@cs.mcgill.ca> <1991Mar27.161213.2100@cs.mcgill.ca> Organization: CAT-TALK Conferencing System, Detroit, MI Lines: 29 In article <1991Mar27.161213.2100@cs.mcgill.ca> storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes: > > >How do I make a PASCAL program recognize CTRL characters (or ALT characters >for that matter). Ie I want the following: > > IF CH = CTRL-G then > BEGIN > blahblahb > END; > > >Any ideas...? Yes, I've got an idea: WHY DON'T YOU READ THE F*CKING MANUAL (RTFM)? If ch = ^G then (* or ch = #7 *) begin Enter (Pnews); Ask (Question.Dumb); end; Dave "Flame" Conrad dave%tygra@sharkey.cc.umich.edu -- = CAT-TALK Conferencing Network, Computer Conferencing and File Archive = - 1-313-343-0800, 300/1200/2400/9600 baud, 8/N/1. New users use 'new' - = as a login id. AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET") = E-MAIL Address: dave%tygra@sharkey.cc.umich.edu