ups, sorrry. It works.
What is not working exactly ?
Ben
On Jan 24, 2013, at 2:17 PM, Sabine Kn��fel wrote:> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
> Hi,
>
> I want to create a block like this:
>
> dayNamesShortBlock
> ^ ['SoMoDiMiDoFrSa' ] "this works"
>
> But in my case, the contents of the block is the result of a method.
>
> dayNamesShortBlock
> ^ [self dayNamesGermanString]. "does not work"
>
> dayNamesGermanString
> ^'SoMoDiMiDoFrSa'
>
> So my question is how can I generate a Block dynamically?
> Sabine
>
>
>
>
>
> --
> View this message in context: http://forum.world.st/dynamically-create-a-block-how-tp4665094.html
>
If you reply to this email, your message will be added to the discussion below:http://forum.world.st/dynamically-create-a-block-how-tp4665094p4665098.html