明经通道 AutoLISP 函数  
defun-q-list-ref
 

返回用 defun-q 定义的函数的表结构

(defun-q-list-ref 'function ) 

参数

function

用于命名函数的符号。

返回值

函数的表定义形式。如果函数未被定义为表,则返回 nil。

示例

使用 defun-q 定义函数:

_$ (defun-q my-startup (x) (print (list x)))
MY-STARTUP

使用 defun-q-list-ref 显示 my-startup 的列表结构:

_$ (defun-q-list-ref 'my-startup)
((X) (PRINT (LIST X)))

参阅

defun-qdefun-q-list-set 函数。

明经通道 版权所有 未经许可 不得传播

 评论