[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-position function
- To: firstname.lastname@example.org
- Subject: Re: file-position function
- From: haible (Bruno Haible)
- Date: Thu, 9 Jun 94 16:07:44 +0200
Chun-Yu Lee says:
> > (file-position in 11)
> *** - cannot position #<STRING-CHAR-FILE-STREAM #"FOO"> beyond EOF
> Is there something wrong with the usage? I'd like that it returns the nil
> when the file position cannot be set.
CLtL2 (p. 656) and dpANS (220.127.116.11) specify that
"If the integer is too large or otherwise inappropriate,
an error is signaled."
A value of NIL would be returned if the new position were valid but could
not become the file's position for some other reason.