<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">BlockContext &gt;&gt; #decompile<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Seems pretty fragile though as it has to check the sources files if you need to fetch temp names.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Romain</DIV><DIV><BR><DIV><DIV>On Aug 8, 2005, at 8:41 PM, Houssam Fakih wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Hi all,</SPAN></FONT></P><DIV><FONT size="2" face="Arial"><SPAN lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"> </SPAN></FONT><BR class="khtml-block-placeholder"></DIV><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">I’m looking for a method that extracts the source code of a block. For instance If I have the following blockContext: [^ self] I need a method that returns the following string: ‘^self’. Is there any method in Squeak that does this job or I have to write a new one?</SPAN></FONT></P><DIV><FONT size="2" face="Arial"><SPAN lang="EN-GB" style="font-size: 10.0pt;font-family:Arial"> </SPAN></FONT><BR class="khtml-block-placeholder"></DIV><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Thanks,</SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-GB" style="font-size: 10.0pt;font-family:Arial">Houssam</SPAN></FONT></P><P class="MsoNormal"><STRONG><B><FONT size="1" face="Courier New"><SPAN style="font-size:7.5pt;font-family:" courier="" new""="">____</SPAN></FONT></B></STRONG></P><P class="MsoNormal"><STRONG><B><FONT size="1" face="Courier New"><SPAN style="font-size:7.5pt;font-family:" courier="" new""="">"Le paradis touche les pieds des mères..."</SPAN></FONT></B></STRONG></P><P class="MsoNormal"><STRONG><B><FONT size="1" face="Courier New"><SPAN style="font-size:7.5pt;font-family:" courier="" new""="">&gt;&gt;&gt; <A href="http://csl.ensm-douai.fr/fakih">http://csl.ensm-douai.fr/fakih</A></SPAN></FONT></B></STRONG></P><DIV><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> </SPAN></FONT><BR class="khtml-block-placeholder"></DIV> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BR class="Apple-interchange-newline"></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>