Re: Difference between method and block - with examples

Oscar Martinez <[email protected]>
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
2011/6/12 Shashank Date <[email protected]>

>
>
> Hi,
>
>
>   n := 10
>   blk := block(i, i + n)
>   blk call 2   #  Exception: nil does not respond to '+'
>
>
Hi  Shashank,

blk call(2)

Regards

Oscar.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.