TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Scott t Griepentrog
from: PHIL SCHERER 71211,2545
date: 1991-08-12 18:31:07
subject: #inkey

#: 11734 S3/Languages
    12-Aug-91  18:31:07
Sb: #inkey
Fm: PHIL SCHERER 71211,2545
To: Scott t Griepentrog

Hi Scott--I started using the function inkey and it does the job buttttt. The
program will not execute the previous printf statement until the function
returns.
     printf("this will not print");
     ch=inkey();
     printf("next statement");

If I enter the letter 'x' then what I will get is: xthis will not print next
statement

It will sit and wait down in the inkey function and after an entry, it will
execute the previous printf and immediately the next printf ??????

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.