[求助]向Autolisp返回变量值的问题?
在ARX中有如下的句子:int ff=10;
acedRetInt(ff);
执行以后,在命令行下输入!ff ,返回nil,没有值是怎么回事啊? [此贴子已经被作者于2002-12-17 17:30:43编辑过] 在ARX中
1. using "defun" to create a command.(eg,test1)
2.
int test1(double a1,char a2[])
{
.....
as you say!
}
3. In lisp (or AutoCAD)
(setq ff (test1 3.122 "abcdeff"))
! ff
===================================
This means, you send datas (A double 3.122 and a string "abcdeff") from lisp to arx and get a returned data which saved in ff
页:
[1]