Jan. 24, 2013
1:21 p.m.
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.