Page 1 of 1

EasyScript instance variables

Posted: 13 Oct 2020 11:08
by xurg
Am I free to put additional variables into "self"?
Anything to watch for when doing this?
Any other way to have instance variables across trigger invocations?

Edit: removed some banter.

Re: EasyScript instance variables

Posted: 14 Oct 2020 17:20
by PoltoS
Into self? I think self is undefined there. But there is a global that is common for all EasyScripting scripts.

Code: Select all

global.x = value

if (global.x == value)