How about pasting your smalltalk code for primitiveSetOSErrorCode
On 2009-11-25, at 7:06 PM, Rob Rothwell wrote:
I miraculously managed to somehow load VMMaker in Pharo on Windows XP.
Furthermore, I managed to create a new Primitive: Interpreter>>primitiveSetOSErrorCode.
I was even able to use that primitive without the VM crashing!
But I can't seem to find the declaration of my instance variable osErrorCode outside the scope of the primitive so I can use it in ioExit...
Any tips? Is there something special you have to do to create the instance variables?
Thanks again for pointing me in the right direction...
Rob
-- =========================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================