Hi,
I tried to create what is know as a "class variable". As far as I understand the only analogy to class variables would be the "class parameters".
I tried to use a class parameter but I cannot change its value at runtime.
Parameter STATUSES = {{}};
Property repr As %String;
Method %OnNew(repr) As %Status
When I get , it is a string like "5@%Library.DynamicObject". This is a string, not a pointer to an object.
I tried to define STATUSES as Parameter STATUSES As CONFIGVALUE = {{}}; and change the value with
d $system.OBJ.UpdateConfigParam("Test","STATUSES",{"a":10})


.png)

.png)