From: Jerry J. <log...@gm...> - 2010-09-20 02:26:05
|
With SBCL 1.0.38, on an x86_64 Fedora 13 machine: * (read-from-string "Is it nil or t?" :start 6 :end 9) IS 3 So READ-FROM-STRING ignores :start. Also: * (read-from-string "Nilson" :end 3) NILSON 6 So READ-FROM-STRING also ignores :end. From the Hyperspec description of READ-FROM-STRING: "Parses the printed representation of an object from the subsequence of string bounded by start and end, as if read had been called on an input stream containing those same characters." I expected that to mean that only the characters between :start and :end would be examined. Yet GCL 2.6.8pre, ECL 10.4.1, and Clisp 2.47 all behave the same way on this machine, so ... what am I missing? -- Jerry James http://www.jamezone.org/ |