#: 11719 S3/Languages
11-Aug-91 15:45:22
Sb: #11716-#C
Fm: Scott t. Griepentrog 72427,335
To: PHIL SCHERER 71211,2545 (X)
To output a tab: putchar('\t'); However, it will not display on a CoCo window
because code 9, normally used for tabs, is instead cursor up. There is no
'tab' on CoCo windows.
To get a key, try the following routine:
inkey() {
char c;
read(0,&c,1);
return(c); }
That reads one character from STDIN direct, places it in c, and returns tha
value to the caller.
StG
There is 1 Reply.
|