Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to use "read-from-string" ?

2 views
Skip to first unread message

官順暉

unread,
Jun 10, 1998, 3:00:00 AM6/10/98
to

(setf bb "aaa bbb ccc ddd")
(read-from-string bb)
AAA
4
(read-from-string bb :start 4)
AAA
4

???
why ?

Rainer Joswig

unread,
Jun 11, 1998, 3:00:00 AM6/11/98
to

b650...@csie.ntu.edu.tw (官順暉) writes:

Because the interface of READ-FROM-STRING is provoking
these errors.

See the argument list of READ-FROM-STRING.
It is: string &optional eof-error-p eof-value &key :start ...

So you need to provide the arguments for
eof-error-p and eof-value, like in

(read-from-string bb nil nil :start 4)


0 new messages