Troispistols Posted June 8, 2012 Posted June 8, 2012 Hi I would like to run the psrename lisp in another lisp (with (c:psrename) ) but I would like to give it predefined answers something like: (c:psrename) It would automaticaly answer "Layer" "prefix" "X - Arch - " But I can't found how to do this Many thanks PSrename.zip Quote
Lee Mac Posted June 8, 2012 Posted June 8, 2012 Since LISP does not permit multiple threads, it is not possible to interact with a LISP program from another LISP program - the programs must run in series, one expression evaluated after another, and when the second LISP program begins evaluation it takes focus and the first cannot be evaluated simultaneously. To accomplish your goal, you would need to rewrite the (c:psrename) function to use a subfunction accepting the necessary parameters that you wish to pass to it. Quote
irneb Posted June 8, 2012 Posted June 8, 2012 Here's a sample of what Lee's suggesting: http://forums.augi.com/showthread.php?113909-Calling-up-LISP-routine-from-within-another-LISP Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.