|
|
发表于 2008-9-22 13:56:52
|
显示全部楼层
来自: 马来西亚
回复 18# alexsum 的帖子
也是一个办法.不过,sd-read-from-string应该是read-from-string的改良版.
! a6 Q, C4 P4 X" E0 f, G% H! K
5 {9 J8 p) T3 p# |. d$ v(sd-read-from-string string)
4 |% L& e d% I& L: v$ q+ p0 r5 ODescription: Same as the standard Lisp function read-from-string except that this function can handle empty strings or strings with just space characters.
# u+ q. ~' U$ i, y, u7 p. R$ ]+ X6 u& M. w
遇到空键时,是有分别的.) P3 M$ ]# s# V7 a3 d
(display (read-from-string " "))
4 k8 z! }/ }# K4 ?, Z(display (oli::sd-read-from-string " ")): ~5 b5 T. Y6 E) _
' G* R+ R' i! R# s
[ 本帖最后由 3dmad 于 2008-9-22 13:58 编辑 ] |
|