[Pharo-dev] Weak pointer
norbert at hartl.name
Thu Apr 10 07:05:24 EDT 2014
Am 10.04.2014 um 12:40 schrieb Igor Stasenko <siguctua at gmail.com>:
> On 10 April 2014 10:50, Yuriy Tymchuk <yuriy.tymchuk at me.com> wrote:
> Hi guys.
> Is there a way to have a week pointer? Or some wrapper with a week pointer? I know that there are week collections, but I what to have a “variable” that won’t prevent the object it points to be garbage collected.
> There's no week pointers, only day, month or year ;)
| weekPointer |
weekPointer := Week new.
seems to work well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev