- 积分
- 1955
- 明经币
- 个
- 注册时间
- 2024-1-18
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
10明经币
原始数据
tr1.15,tr1.9,tr.3.1,ld1.76
tr1.35,tr1.1,tr.3.4,ld1.56
tr1.12,tr1.2,tr.3.44,ld1.36
tr1.14,tr1.3,tr.3.32,ld1.56
tr1.25,tr1.5,tr.3.33,ld1.566
(defun C:SDS()
(setq sjwj (open (getfiled "请选取数据文件" "" "txt;dat" 0) "r"))
(setq wjlb nil)
(while (setq mhxx(read-line sjwj))
(while (vl-string-search "," mhxx)
(setq mhxx(vl-string-subst " " "," mhxx)))
(setq mhlb (read (strcat "(" mhxx ")")))
(setq wjlb(append wjlb (list mhlb))))
)
转换为列表后 read把每个元素小数点后面去掉了,并全部改为了大写,,求助 该怎么写
|
|