- A+
所属分类:CAD二次开发
lsp连接字符串函数(strcat 字符串 字符串 ......)
(rtos 实数),这个函数可以把值的变量转化为字符串输出。(strcat "火鸡百科" (rtos x ) )
字符合并连接代码
(defun c:h1 (/)
(setq A1 '"火鸡百科1")
(setq A2 '"http://huojibk.com/")
(setq Aa(strcat A1
A2
))
(princ Aa);运行结果 火鸡百科1http://huojibk.com/
)
复制