How To Re-evaluate A Block?

Andreas Raab raab at isgnw.CS.Uni-Magdeburg.De
Fri Nov 20 22:45:26 UTC 1998


Craig,

> > 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.

  Andreas
-- 
Linear algebra is your friend - Trigonometry is your enemy.
+===== Andreas Raab ============= (raab at isg.cs.uni-magdeburg.de) =====+
I Department of Simulation and Graphics      Phone: +49 391 671 8065  I
I University of Magdeburg, Germany           Fax:   +49 391 671 1164  I
+=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+





More information about the Squeak-dev mailing list