Xref: utzoo comp.sys.amiga:27792 comp.sys.amiga.tech:3185 Path: utzoo!attcan!uunet!lll-winken!ames!ucsd!sdcc6!sdcc10!cs161agc From: cs161agc@sdcc10.ucsd.EDU (John Schultz) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: How do I read a character using Modula II? Message-ID: <52@sdcc10.ucsd.EDU> Date: 14 Jan 89 05:11:28 GMT References: <508@tau.luth.se> Reply-To: cs161agc@sdcc10.ucsd.edu.UUCP (John Schultz) Organization: University of California, San Diego Lines: 14 In article <508@tau.luth.se> Karl-Gunnar Hultland writes: >I've tried to write a routine in Benchmark Modula which would >allow me to wait for the user to press one character and then >return a char containing the key pressed. You can use BusyRead from Terminal. You can also open a window (from SimpleWindows) and use the console device. I haven't tried it, but you could open "*" as a file and use OpenInputFile, or even open a "CON://640/200" (that would probably be best). John Schultz