wangyue 发表于 2002-6-15 15:51:00

求助:寫不下去了

你好:請教一下,我想將sidegate.txt中的內容,分別在sidegate.dcl中的各項相對應起來
用sidegate.lsp調用sidegate.dcl時會自動的將sidegate.txt中的各項在sidegate.dcl中顯示
我已將檔案傳上去

前生 发表于 2002-6-15 16:08:00

读txt 文件,列表,

读txt 文件,列表,
(setq f (open "*.txt" "r"))
(while (setq str (read-line f))
(read (strcat "(" str ")")
)
然后。。。。

wangyue 发表于 2002-6-15 16:58:00

你好:還是不知道如何是好,你能否幫我修改一下

页: [1]
查看完整版本: 求助:寫不下去了