how to call blocks?
"shifeng_h" <[email protected]> Wed, 08 Aug 2012 18:15:57 -0000
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
hi, I am a new guy for Io language. and I have a problem need help.
after I create a block with method block(), how to invoke it? the code below didn't work.
thanks for help
Io 20110905
Io> v := Object clone
==> Object_0x15f8b60:
Io> v b := block("block" println)
==> method(
"block" println
)
Io> v b
==> method(
"block" println
)
Io>