字符与字符串问题?
<P>请问在AutoLISP中有没有将多个字符合并成字符串?</P><P>如:字符(char):a与b</P>
<P>组合成 字符串(string):ab</P> strcat <P>strcat,如:</P>
<P>(strcat "a" "b")</P>
<P> </P> 给点例子好吗? <P>谢谢了</P> <P>如:</P>
<P>(defun c:test ()<BR> (setq a "This is"<BR> b " an example."<BR> c (strcat a b)<BR> )<BR> (princ "\n")<BR> (princ (strcat "a and b = " c))<BR> (princ)<BR>)</P>
<P> </P>
页:
[1]