I think my question here is not that much clear, so to make you understand i would like to go in detail,
1) I am trying to work on the current code which is as below,
(defun c:drawaline ()
(vl-load-com)
(a) ;This line is my querry
(setq x (getpoint))
(setq y (getpoint x))
(command "line" x y)
(princ)
)
2) Now i have a folder containing nos of lisp files.
For example;
a.lsp
b.lsp
c.lsp
d.lsp etc.,
3) a.lsp file contains
(defun test ()
(body of program)
(princ)
)
(defun test1 ()
(body of program)
(princ)
)
(defun test2 ()
(body of program)
(princ)
)
(defun a ()
(prompt "click points to draw a line")
(princ)
)
4) Here i am looking for a function "(a)" which is written somewhere in the folder which contains nos of lisp file.
5) I need a program which will ask me for a string "what are you looking for? suppose i provide "defun a" so it will open all the lisp files from the selected folder and search for the provided string and will return "your result is in the "a.lsp" file.
I hope i have made the right question.
Thanks in advance...............
Shreev