0 Members and 1 Guest are viewing this topic.
In a button used to call a lisp routine, is it not possible to have the routine repeat itself after it has been run once? I thought I only had to throw an asterisk at the beginning of the macro ( *^C^C.... )
Quote from: M-dub on February 18, 2010, 10:00:57 AMIn a button used to call a lisp routine, is it not possible to have the routine repeat itself after it has been run once? I thought I only had to throw an asterisk at the beginning of the macro ( *^C^C.... )(It's been a while but....)The ^C^C is the equivalent to CANCEL. Try removing those and see if it sticks.
Quote from: Matt W on February 18, 2010, 10:02:14 AMQuote from: M-dub on February 18, 2010, 10:00:57 AMIn a button used to call a lisp routine, is it not possible to have the routine repeat itself after it has been run once? I thought I only had to throw an asterisk at the beginning of the macro ( *^C^C.... )(It's been a while but....)The ^C^C is the equivalent to CANCEL. Try removing those and see if it sticks.I know...I did that and it thinks that the asterisk is part of the command.I'm thinking that it would be easier to modify the lisp routine, itself to have it repeat.I just wish I knew how to do that. (hint hint hint)
What happens if you use ^C^C(while (not (C:lispName)))or use ^C^C(while(C:lispName)) if the lisp returns a value.You will need to escape to exit.
You're welcome.Not sure if that's were Lee was intending the while to go.