I've gotten it to work for defining variables in scriptObjects:
$test = new scriptObject(){test = 1;}echo($test.test);
but I haven't been able to get any variation of defining a function to work. Does anyone know how to do this, or is it just not possible? Thanks.
EDIT: In a master-child-child scenario, how does one make a list object? I tried listObject as the simplest choice, but unsurprisingly it did not work.
==>$master = new scriptObject(){exists = 1;};
==>$child = new scriptObject(){master = $master;};
==>echo($child.master.exists);
1
How can I make $master in this example have a list to the children that it owns?