From: Barry Margolin
Subject: Re: read-from-string :start behavior not as expected
Date: 
Message-ID: <barmar-D420E1.22045109052005@comcast.dca.giganews.com>
In article <······························@boeing.com>,
 Jeffrey Cunningham <····················@boeing.com> wrote:

> Why doesn't 
> 
> (read-from-string "1.23 4.56" :start 5)
> 
> return 4.56? What is the :start parameter good for if not starting the
> string someplace other than at 0? I must be missing something...

This is one of the questions that prompted me to compile the FAQ at 
least 15 years ago.

The answer is that READ-FROM-STRING has optional arguments that precede 
the keyword arguments.

-- 
Barry Margolin, ······@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
From: Pascal Bourguignon
Subject: Re: read-from-string :start behavior not as expected
Date: 
Message-ID: <878y2nv8ia.fsf@thalassa.informatimago.com>
Barry Margolin <······@alum.mit.edu> writes:

> In article <······························@boeing.com>,
>  Jeffrey Cunningham <····················@boeing.com> wrote:
>
>> Why doesn't
>>
>> (read-from-string "1.23 4.56" :start 5)
>>
>> return 4.56? What is the :start parameter good for if not starting the
>> string someplace other than at 0? I must be missing something...
>
> This is one of the questions that prompted me to compile the FAQ at
> least 15 years ago.
>
> The answer is that READ-FROM-STRING has optional arguments that precede
> the keyword arguments.

But people see it's 15 years old so they don't consult it.  You should
time stamp it 2005 and write:


           A    L      L        N    N  EEEEE  W   W   !
          A A   L      L        NN   N  E      W   W   !
         A   A  L      L        N N  N  EEE    W W W   !
         AAAAA  L      L        N  N N  E      W W W   !
         A   A  L      L        N   NN  E      W W W
         A   A  LLLLL  LLLLL    N    N  EEEEE   W W    !


over it.


--
__Pascal Bourguignon__                     http://www.informatimago.com/
In deep sleep hear sound,
Cat vomit hairball somewhere.
Will find in morning.