This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Event script - get previous value before current one?
#1
Hi,

Is there a way in an event script to retrieve the previous value of the event?

I have an on/off object and want to know, for example if I receive an 'off' and read it with event.getvalue(), to see whether previously it was 'on' or 'off' before deciding on the subsequent logic.
Thank you!
Morkov
Reply
#2
See this: https://forum.logicmachine.net/showthread.php?tid=347
Reply
#3
Thanks!
Thank you!
Morkov
Reply


Forum Jump: