本帖最后由 liuhe 于 2023-2-18 12:46 编辑
![](source/plugin/imc_colorcode/images/loading.gif) - (defun LL( / J I) ;;;;;定义函数
- (setq i 6 j 1)
- (repeat i
- (eval (read (strcat "(defun-q"
- " "
- "l"
- (rtos j 2 0)
- "(key)(SETQ KEY"
- " "(rtos j 2 0)
- ")(PRINC KEY))"
- )
- )
- )
- (setq j (1+ j))
- ))
已经自行解决
2023.02.18
删除命令,尤其是自定义快捷键更新
(defun DELUSUBR (/ J I);;;;;删除定义函数
(setq i 6
j 1
)
(repeat i
(IF (= 'LIST (TYPE (eval (read (strcat "l" (rtos j 2 0))))))
(SET (read (strcat "l" (rtos j 2 0))) NIL)
)
(setq j (1+ j))
)
)
|