search for: someinitfoo

Displaying 1 result from an estimated 1 matches for "someinitfoo".

2011 Jun 29
1
Ref Classes: bug with using '.self' within initialize methods?
...write an explicit initialize method for a Ref Class, can you then make use of '.self' WITHIN this initialize method just as you would once an object of the class has actually been initialized? Because it seems to me that you can not. Below is an example that shows that calling '.self$someInitFoo()' within the initialize method for 'MyClass' does not work (see section "METHODS" in example below). Instead I have to go with 'someInitFooRefInner(.self=.Object, ...)' (see section "UPDATED METHOD" in example below). Yet, this is only possible because t...