In almost all examples, there is always the equivalent of
ktrig changed:k(chnget:k("widgetname" ))
If ktrig==1 then....
Could you tell me why we check if it is changed instead of getting the value directly?.. As it seems to me that the value is captured anyway for comparing with previous value.. Is this to save some CPU?
And if necessary, could this be implemented at once? i. e. as a macro?