问题
1.能不能用foreach的方法来添加?
2.添加后,用VLAX-LData-list命令查询时,数据顺序不是我添加的顺序.
- ; obj (VLAX-Ename->VLA-Object (Car (EntSel "\n请选择:"))); lst 点对表如();(add_ldata_list obj lst)添加拓展数据表(defun add_ldata (obj lst)(vl-load-com)(setq i 0)(repeat (length lst)(VLAX-LData-Put obj (car(nth i lst)) (cdr(nth i lst)))(setq i (1+ i)))(princ))
|