TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: PHIL SCHERER 71211,2545 (X)
from: Scott t. Griepentrog 72427,335
date: 1991-08-11 15:45:22
subject: #11716-#C

#: 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.

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™.