<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, easily. '<i>thisContext</i>' is a context variable known in every
method.&nbsp; Its value is always the <i>MethodContext</i> which is
executing the method.<br>
<br>
'<i>thisContext</i>' is a variable name treated in the same way as '<i>self</i>',
'<i>super</i>', etc. See <i>VariableNode&gt;&gt;initialize</i>.<br>
<br>
Hope this helps<br>
--Trygve<br>
<br>
On 16.12.2007 09:44, Niko Matsakis wrote:
<blockquote cite="mid:6F769164-A916-47E3-8948-A893A85C55D7@alum.mit.edu"
 type="cite">Is it possible to gain access to the current stack context
(i.e., MethodContext or BlockContext) in Squeak?
  <br>
  <br>
  <br>
thanks,
  <br>
Niko
  <br>
  <br>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 

Trygve Reenskaug      mailto: <a class="moz-txt-link-abbreviated" href="mailto:trygver@ifi.uio.no">trygver@ifi.uio.no</a>
Morgedalsvn. 5A       <a class="moz-txt-link-freetext" href="http://folk.uio.no/trygver">http://folk.uio.no/trygver</a>
N-0378 Oslo           Tel: (+47) 22 49 57 27
Norway 
 </pre>
</body>
</html>