Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!uunet!cs.dal.ca!silvert From: silvert@cs.dal.ca (Bill Silvert) Newsgroups: comp.lang.fortran Subject: Re: Read one keystroke with MS-fortran. Summary: damn the cost! Message-ID: <1991Feb22.213906.11538@cs.dal.ca> Date: 22 Feb 91 21:39:06 GMT References: <1991Feb1.121306.2212@ugle.unit.no> <5116@awdprime.UUCP> Sender: silvert@cs.dal.ca.UUCP (Bill Silvert) Reply-To: bill%biomel@cs.dal.ca Organization: Habitat Ecology Div., Bedford Inst. of Oceanography Lines: 23 In article userAKDU@mts.ucs.UAlberta.CA (Al Dunbar) writes: >In article <5116@awdprime.UUCP>, jerry@heyman.austin.ibm.com (Jerry Heyman) writes: >>> >>> Hello folks. >>> >>> Is there anybody out there who have a routine to read on byte >>> from the keyboard without waiting for 'return', called from >>> MS-fortran ? > >If your Fortran is current enough, purchase Microsoft C and write >your function in Fortran callable C. Wow, that has to be the most expensive functionality that has been posted in a long time! I sent the original poster a short assembler program that links to both MS and Lahey Fortran to do this. Aside from the cost of buying MS C, remember that you will end up loading in a set of C libraries once you invoke even a small subroutine. -- William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2. Tel. (902)426-1577 UUCP=..!{uunet|watmath}!dalcs!biomel!bill BITNET=bill%biomel%dalcs@dalac InterNet=bill%biomel@cs.dal.ca