[comp.os.msdos.programmer] Read one keystroke with MS-fortran.

arve@immhp1.marina.unit.no (Arve Loktu) (02/01/91)

  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 ?

    Please send a copy to : arve@imm.unit.no  



                             Arve Loktu
                             Marintek
                             Trondheim
                             Norway

jerry@heyman.austin.ibm.com (Jerry Heyman) (02/05/91)

In article <1991Feb1.121306.2212@ugle.unit.no> arve@immhp1.marina.unit.no (Arve Loktu) 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 ?
>
>    Please send a copy to : arve@imm.unit.no  
>

The last time I used MS-Fortran was version 3.1 (back in 1984), and at that 
time there wasn't the support that you're asking for.  The company I was
working for at the time had to purchase a FORTRAN library that could be
linked into the software that contained, among other things, the function that
you are requesting.

The name of the library and the company that produced it are no longer in my
memory, but as far as I know, you'll have to go outside of MS to get it.  By
the way, the FORTRAN function we used was called INKEY()!

Again, all my comments are based on MS-FORTRAN 3.1, and may not be relevant
to todays implementation.

jerry
>
>
>                             Arve Loktu
>                             Marintek
>                             Trondheim
>                             Norway


-- 
Jerry Heyman                     IBM T-R: jerry@heyman.austin.ibm.com
AWD Tools Development            VNET   : HEYMAN at AUSVMQ
AWD Austin                       T/L    : 793-3962
*** All opinions expressed are exactly that - my opinions and NOT IBM's