name = instance ;
None
str name instanceName The names of the current instance. The STATUS variable is set to $ACKNOWLEDGE
str name
The names of the current instance.
The STATUS variable is set to $ACKNOWLEDGE
%ARGUMENT : Invalid arguments. Usage: name = instance ;
To execute the example below, press or modify the example to try different variations. CONNECT() { puts { "I am ",self()," before instance" } ; instance("new") ; puts { "I am still ",self()," after instance" } ; event ("new#"+self(2),"WAKEMEUP") ; puts { "I am ",self()," going to a poll state" } ; poll ; puts { "I am ",self()," after polling" } ; return ; } WAKEMEUP() { puts { "I am ",self()," running WAKEMEUP method" } ; return ; } global WAKEMEUP ; enable WAKEMEUP ; CONNECT();
instance