Author Topic: Create variable list by parsing a lisp file  (Read 6371 times)

0 Members and 2 Guests are viewing this topic.

AIberto

  • Guest
Re: Create variable list by parsing a lisp file
« Reply #15 on: August 19, 2015, 07:10:11 AM »
How test for this function ?
Replace line 4 in ronjonp's code with:
Code: [Select]
(defun test ( / fun1 fun2 s1 s2 d g)
...
)
(test)
And load the code in a new drawing.


Many Thanks roy

returns : "( / *ATOMS* TEST )"

This result is right?



roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Create variable list by parsing a lisp file
« Reply #16 on: August 19, 2015, 07:27:22 AM »
Yes. Your code has added a function definition.