你好
在发出清除当前行的提示函数时,可以使用返回字符“\r”
- (defun c:test ()
- (write-line "Test function")
- (setq i 0)
-
- (repeat 100
- (setq PromptMessage (strcat "[color="Red"][b]\r[/b][/color] Counter [" (rtos i 2 0) "]"))
- (princ PromptMessage)
- (setq i (1+ i))
- (command "delay" 20)
- )
- (write-line "End of function")
- )
|