[Vm-dev] Return a value from the image to the VM

Rob Rothwell r.j.rothwell at gmail.com
Sun Nov 22 04:07:10 UTC 2009


For scripting purposes, I just want to be able to do something like:

SmalltalkImage current quit: errorCode.

So that in the VM I can essentially do:

return errorCode.

at the end of sqMain?

Any pointers on how to push a value BACK to the VM?  I have only barely
dabbled with adding some custom menu commands to the VM long ago, and have
no idea where to start.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20091121/6080efdc/attachment.htm

More information about the Vm-dev mailing list