[Vm-dev] Re: Is SmallInteger a really too dangerous class?

Igor Stasenko siguctua at gmail.com
Tue Dec 14 09:09:54 UTC 2010

On 14 December 2010 00:13, Andreas Raab <andreas.raab at gmx.de> wrote:
> On 12/13/2010 2:48 PM, Bert Freudenberg wrote:
>> On 13.12.2010, at 13:06, Mariano Martinez Peck wrote:
>>> sorry, it should be
>>> SmallInteger class >> initialize
>>> self addInstVarName: 'Zaraza'.

'Zaraza' in russian means 'infection'.
It also used for swearing, when something goes not what expected to be :)

>>> Notice I want to add a class variable to SmallIneteger, not instVar.
>> This is not really a VM question. Class variables are held in a
>> dictionary. The VM knows nothing about this.
> And of course class vars are added by using #addClassVarName: not
> #addInstVarName:.

class inst var should be ok too. Not sure what the correct message for
adding it programmatically.

> Cheers,
>  - Andreas

Best regards,
Igor Stasenko AKA sig.

More information about the Vm-dev mailing list