TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Grrr1337 on March 20, 2017, 08:10:37 AM
-
Hi guys, reactor dummy asking:
Is it possible to set lambda function as a callback function to a reactor?
I've did some simple test and it failed:
(cons :vlr-beginDoubleClick )
); cons
); list
); vlr-mouse-reactor
Error: bad argument
type:
(or stringp symbolp
): #
<USUBR @0000005c713bba70
-lambda
->_1$
Although:
But before I fully gave up on this idea, I wanted someone else that perhaps tried this long time ago to comfirm that this is impossible?
:thinking:
-
The documentation is pretty clear:
callback_function is a symbol representing a function
-
Thanks Roy!
I thought that I could fool this with lambda, instead of defining a simple named function. :uglystupid2: