on_doc.lsp
in Linux
greetings
I have a little question, I don't have advanced skills in lisp, and my problem is that I use various lisp rutines that I found in INTERNET, and to call all these routines at the same time, every time that I run bricscad, I put all the routines in the file on-doc.lsp and ready.
But I don't know why? when I use in Bricscad V12, some routines don't work; in the begining I thought that it is a problem with the routines, they could be work in windows but not in linux, but I separated all the routines in singles files (one for each routine) and when I call the routines this way, every routine works.
But all the routines in the same file give me problems, and only some routines works and others not. I repeat, if I separate any routine in a single file, the routines work.
any ideay?
thanks everybody
jorge
I have a little question, I don't have advanced skills in lisp, and my problem is that I use various lisp rutines that I found in INTERNET, and to call all these routines at the same time, every time that I run bricscad, I put all the routines in the file on-doc.lsp and ready.
But I don't know why? when I use in Bricscad V12, some routines don't work; in the begining I thought that it is a problem with the routines, they could be work in windows but not in linux, but I separated all the routines in singles files (one for each routine) and when I call the routines this way, every routine works.
But all the routines in the same file give me problems, and only some routines works and others not. I repeat, if I separate any routine in a single file, the routines work.
any ideay?
thanks everybody
jorge
0
Comments
-
Dear Jorge,
basically, it is fine to place those routines into on_doc_load.lsp ...
as there are troubles when combined into a single file, it seems, those
routines do conflict with eachother ...
i.e. with same-named global functions / variables, error handler routines,
and lots more, what could interfere there.
The best is to ZIP them altogether and attach here .... then I can have a
look at the routines;
btw., if you have a chance to verify on Windows, does the same happen there
as well ( I would assume so).
Many greetings !0
This discussion has been closed.