[Newbies] Can a block be a string?

Andy Burnett andy.burnett at knowinnovation.com
Thu Feb 18 22:33:21 UTC 2010


I am playing around with Seaside 3 and noticed that, for example:

html paragraph: 'text', and
html paragraph: [html text: 'hello'].

Are both valid.

When I looked at the definition for paragraph:  it says that takes a aBlock,
but then doesn't seem to do a value: aBlock.  So, what I am wondering is
whether it is valid to give a string as a block, or whether this is just a
slightly loose definition of block?

Cheers
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20100218/340dff5f/attachment.htm


More information about the Beginners mailing list