names = instances ;
None
str names instanceNames The names of all the instances. The STATUS variable is set to $ACKNOWLEDGE
str names
The names of all the instances.
The STATUS variable is set to $ACKNOWLEDGE
%ARGUMENT : Invalid arguments. Usage: names = instances ;
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