ups, sorrry. It works.

On Thu, Jan 24, 2013 at 2:25 PM, Benjamin Van Ryseghem-2 [via Smalltalk] <[hidden email]> wrote:
What is not working exactly ?

Ben

On Jan 24, 2013, at 2:17 PM, Sabine Kn��fel wrote:

> 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
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>





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
To unsubscribe from dynamically create a block - how?, click here.
NAML



View this message in context: Re: dynamically create a block - how?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.