How To Re-evaluate A Block?

Craig Latta Craig.Latta at NetJam.ORG
Fri Nov 20 23:10:25 UTC 1998


> > > What is the Squeak code I need to do before I send value to the protected
> > > block so that it can be re-evaluated?
> > 
> > 	That's BlockContext>>fixTemps, I believe.
>
> That's not an extremely good idea in an exception handler. #fixTemps will
> create a new home method for the block - so every reference to variables
> will not have any effect when you leave the guarded block.

	Oh well; that was off the top of my head. I ought to have looked up what I do in my exception-handling stuff, but I'm too lazy at the moment.


-C


--
Craig Latta
composer and computer scientist
craig.latta at netjam.org
www.netjam.org
latta at interval.com
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list