On Sun, Sep 21, 2008 at 09:47:40PM -0300, Gerardo Richarte wrote:
(interpreterProxy isIntegerObject: element) ifTrue: [anArray at: i put: (interpreterProxy integerValueOf: element)] ifFalse: [anArray at: i put: (interpreterProxy firstIndexableField: element)] ].
Watch out for storing addresses into integers. The #firstIndexableField: is a pointer. If you are using Squeak 32-bit words (any normal image), you don't want to stuff addresses into the slots unless you are certain that nobody will ever want to run your plugin on a 64-bit pointer machine.
Dave