Oct. 5, 2010
9:36 p.m.
On 05.10.2010 23:29, Guillermo Polito wrote:
Why not
self class environment platformName
? Because it doesn't work? ;)
The class environment is the SystemDictionary instance containing classes and globals, not the SmalltalkImage instance, (Smalltalk is now a shortcut for the sole SmalltalkImage instance), where you find access to OSPlatform through the #os delegation method. SmalltalkImage platformName is deprecated in 1.2, the cross-dialect way to do it is through using Smalltalk os platformName. Cheers, Henry