<br>&nbsp;&nbsp;Block are used to delimit a sequence of parametrized instructions<br>&nbsp;&nbsp;for which evaluation is deferred. They can also be seen as anonymous<br>&nbsp;&nbsp;functions with or without arguments.<br><br>&nbsp; The example sends the message \code{do:} to an array of strings with
<br>&nbsp;&nbsp;a block as a parameter. The block is evaluated once for each element<br>&nbsp;&nbsp;in the array. The block parameter \code{string} contains each<br>&nbsp;&nbsp;element of the array, one after the other. As a result of the whole<br>&nbsp;&nbsp;expression, the strings \code{&#39;Hello &#39;} then \code{&#39;World&#39;} are
<br>&nbsp;&nbsp;displayed in the transcript.<br><br><br>Spanish (Castellano):<br><br>Los bloques son usados para delimitar una secuencia de instrucciones parametrizadas para las cuales su evaluación es diferida. Tambien pueden ser vistas como funciones anónimas con o sin argumentos.
<br><br>...(example)<br><br>En el ejemplo se envía el mensaje \code{do:} a un arreglo de cadenas con un bloque como parámetro. El bloque es evaluado una vez para cada elemento en el arreglo. El parámetro del bloque \code{string} contiene cada elemento del arreglo, uno tras otro. Como resultado de la expresión entera, las cadenas \code{&#39;Hello &#39;} y luego \code{&#39;World&#39;} son visualizadas en el transcript.
<br><br>Hernán<br><br><div><span class="gmail_quote">2007/12/2, Damien Cassou &lt;<a href="mailto:damien.cassou@gmail.com">damien.cassou@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Smalltalk flyers are located to <a href="http://damien.cassou.free.fr/">http://damien.cassou.free.fr/</a>. I plan<br>to create Squeak and Seaside flyers too.<br><br>I&#39;ve added a paragraph about blocks on the flyer. The flyer is
<br>translated to English, French, German and Spanish. I need a german and<br>a spanish for the translation of the following paragraph. Also, in the<br>Spanish version, there is no more free room for the squeak browser<br>
picture. So, someone has to rephrase the spanish version.<br><br>If you have comments, feel free to answer this message.<br><br>\newcommand{\stBlockTerm}{Block}<br>\newcommand{\stBlockDefinition}{<br><br>&nbsp;&nbsp;Block are used to delimit a sequence of parametrized instructions
<br>&nbsp;&nbsp;for which evaluation is deferred. They can also be seen as anonymous<br>&nbsp;&nbsp;functions with or without arguments.<br><br>&nbsp;&nbsp;\begin{displaycode}<br>&nbsp;&nbsp;&nbsp;&nbsp;\#(&#39;Hello &#39; &#39;World&#39;)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;\hspace{1cm}&nbsp;&nbsp;do: [:string | Transcript show: string].
<br>&nbsp;&nbsp;\end{displaycode}<br><br>&nbsp;&nbsp;The example sends the message \code{do:} to an array of strings with<br>&nbsp;&nbsp;a block as a parameter. The block is evaluated once for each element<br>&nbsp;&nbsp;in the array. The block parameter \code{string} contains each
<br>&nbsp;&nbsp;element of the array, one after the other. As a result of the whole<br>&nbsp;&nbsp;expression, the strings \code{&#39;Hello &#39;} then \code{&#39;World&#39;} are<br>&nbsp;&nbsp;displayed in the transcript.<br><br>}<br><br>Thank you<br>
<br>--<br>Damien Cassou<br><br></blockquote></div><br>