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?

Thanks.

with regards,
--

LD




_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to