[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] bug: Smalltalk snapshot: aString

From: LD
Subject: Re: [Help-smalltalk] bug: Smalltalk snapshot: aString
Date: Sun, 2 Oct 2005 13:01:14 +1000

Hi again,

On 02/10/2005, at 3:56 AM, Mike Anderson wrote:

LD wrote:

I've installed GNU Smalltalk (2.1.11) via darwinports and whilst going through the online tut (well written btw), I found the following error.

I see in the class browser online that the SystemDictionary's snapshot message is deprecated in favour of ObjectMemory's. Where might this be fixed so that the above call to Smalltalk snapshot will indeed utilse
ObjectMemory's snapshot?

SystemDictionary methodsFor: 'saving the image'!

snapshot: aString
    ObjectMemory snapshot: aString

- will fix it for you, but really the tutorial should be corrected.

Sorry, I should have mentioned, I understand the above 'fix' but what I'm not understanding (yet) is where the initial message "Smalltalk snapshot:aString" or command shell is defined for such behaviour.

So, for example, the command:
Smalltalk at: #s put: 2 !

Is the Smalltalk class use above an alias for SystemDictionary? How does this all tie together in other words? Where is this behaviour customised?


with regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]