[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read-from-string
- To: A. Sharif Heger CHNE <heger@triton.unm.edu>
- Subject: Re: read-from-string
- From: kab (Kim Barrett)
- Date: Sat, 18 Jan 92 13:07:03 EST
- Cc: info-mcl@cambridge.apple.com
> I am having trouble with that function. The keyword :start
> is supposed to identify the index of the first character that is
> to be read. The function completely ignores this keyword. Any
> idea?
>
> A. Sharif Heger
Since you didn't include an example, I can't be sure of this, but I suspect
you're making the same mistake zillions of other folks (including myself) have
made from time to time. If your call looks like
(read-from-string <string> :start <start> :end <end>)
what you've actually done is passed :start and <start> as the optional
eof-error-p and eof-value arguments respectively. Blame it on bad interface
design.