在LISP中用DCL对话框读取TXT中的数据
答案:2 悬赏:70 手机版
解决时间 2021-02-14 06:27
- 提问者网友:了了无期
- 2021-02-14 02:27
在LISP中用DCL对话框读取TXT中的数据
最佳答案
- 五星知识达人网友:一叶十三刺
- 2021-02-14 03:28
lisp里就直接用lisp函数来读取文件内容。只需要三个函数,open,close,read-line
Opens a file for access by the AutoLISP I/O
functions
(open filename mode)
Closes an open file
(close file-desc)
Reads a string from the keyboard or from an open
file, until an end-of-line marker is encountered
(read-line [file-desc])
Opens a file for access by the AutoLISP I/O
functions
(open filename mode)
Closes an open file
(close file-desc)
Reads a string from the keyboard or from an open
file, until an end-of-line marker is encountered
(read-line [file-desc])
全部回答
- 1楼网友:逐風
- 2021-02-14 05:02
592166316
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯