VAR Reactor
VAR Reactor
There are times when we want to watch and be notified when a variable is changed.
There are times when we want to watch and be notified when a variable is changed.
Watches FILEDIA and reports changes
debug option
(vlr-sysvar-reactor
nil
'((:vlr-sysVarChanged .
(lambda (r a)
(if (= (strcase (car a)) "FILEDIA")
(princ
(strcat
"\nFILEDIA changed to "
(itoa (getvar "FILEDIA"))
)
)
)
)
))
)