<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Casey,<br>
<br>
Dave has already provided the latest version (thanks Dave!), so this
is just a clarification. Squeak used to
#allowBlockArgumentAssignment. But this doesn't really make much
sense. When Eliot did the Closures VM, image format and VM, he found
this and implemented a preference. In Cuis, I made the preference
default to false. But you could change it if needed. See senders of
#allowBlockArgumentAssignment .<br>
<br>
Cheers,<br>
Juan Vuletich<br>
<br>
On 27/06/2013 07:18 p.m., Casey Ransberger wrote:
<blockquote
cite="mid:CACemAZe5fq4Xu6ujr9aw=VLVzmgPQF9oB3P8CXQO2cBcwF8g7Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">So after shuffling around the Monticello dance by
changing .sar and .mcz to .zip, nuking various files that
aren't useful w/o MC, I'm having some trouble filing in the
OSProcess <a moz-do-not-send="true" href="http://source.st">source.st</a>. </div>
<div><br>
</div>
I think I know what's going on here. Squeak probably still has
BlockContexts for back compat, and Cuis 4.1 probably only has
BlockClosures now.<br clear="all">
<div><br>
</div>
<div style="">In UnixProcess>>argsAsFlatArrayAndOffsets: I
have this problem...</div>
<div style=""><br>
</div>
<div style="">
<div>(anArrayOfNullTerminatedStrings collect: [:e | e size])</div>
<div><span class="" style="white-space: pre;"> </span>inject:
offset into: [:p :e | ws nextPut: p. <b
style="background-color: rgb(255, 255, 0);">Cannot store
into -></b>p := p + e].</div>
<div><br>
</div>
</div>
<div style="">I don't think I've ever used #inject:into:, but
looking at it, *I think* the above means the same thing as:</div>
<div style=""><br>
</div>
<div style="">
<div>(anArrayOfNullTerminatedStrings collect: [:e | e size])</div>
<div><span class="" style="white-space: pre;"> </span>inject:
offset into: [:p :e | ws nextPut: p. p + e].</div>
</div>
<div><br>
</div>
<div style="">...which compiles just fine. Am I right, or is
that going to mean something totally different? I'm not as
familiar with the inject idiom, and I don't want to introduce
a logic error.</div>
<div style=""><br>
</div>
<div style="">Thinking I want to use OSProcess to talk to the
command-line git client so I can make a nice little UI for it
in Morphic.</div>
<div style=""><br>
</div>
-- <br>
Casey Ransberger
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Cuis mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cuis@jvuletich.org">Cuis@jvuletich.org</a>
<a class="moz-txt-link-freetext" href="http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org">http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="" avgcert="" color="#000000" align="left">Se certificó
que el correo no contiene virus.<br>
Comprobada por AVG - <a moz-do-not-send="true"
href="http://www.avg.es">www.avg.es</a><br>
Versión: 2012.0.2242 / Base de datos de virus: 3204/5949 - Fecha
de la versión: 29/06/2013</p>
</blockquote>
<br>
</body>
</html>