Hello,
I need an example of implementation of a getter. I have an attribute in a class which now needs a customized getter. Class A -slots { Attribute attr -proc get {domain var} { #how to get attr value here? if I do [my attr] I get recursive call. $attr says that there is no such variable } }
Another question: should I use -proc get or -proc valuecmd? valuecmd does seems to be not called at all.
Best Regards