[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #\EOF
- To: KMP at MIT-MC
- Subject: Re: #\EOF
- From: David A. Moon <MOON at MIT-MC>
- Date: Fri ,19 Sep 80 21:32:00 EDT
- Cc: LISP-FORUM at MIT-MC
What's the point?
TYI is defined to return -1 at EOF. This is part of the language, it
is not an operating system dependency and should not be expected to
vary across systems. (In fact, ITS returns 777777000003 at EOF, not -1).
Furthermore, TYI is the only function that returns -1 at EOF. READ
and READLINE take an argument which is what to return (and it doesn't
default to -1!) and IN doesn't return anything, but gives an error.