TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: F. Tourigny
from: William Mcbrine
date: 1998-07-15 13:28:24
subject: EOF

-=> F. Tourigny wrote to All <=-

 FT> I enter a string, hit return, the line is displayed and I exit with
 FT> ^C, which has nothing to do with EOF, presumably, but that's another
 FT> story.  In any case the program exits with code -1.

As you say, ^C is not EOF; you're causing the program to abort. Type the
EOF code -- ^D for Unix, or ^Z for DOS -- and it should exit correctly.

 FT> Obviously, EOF isn't recognized in any of these two exercises.

No EOF was there to be recognized. :-)

Next message:

 FT> Nonzero is True, right?

Yes.

---
* Origin: * My Place BBS * Bowie, Md USA * V.34 * (301)805-1602 * (1:109/570)
SEEN-BY: 396/1 622/419 632/371 633/260 267 270 371 634/397 635/506 728
SEEN-BY: 639/252 670/213 218
@PATH: 109/8 13/25 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.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™.