Hi, I can't write
foo: n ^[:i| s := s+i. ] but foo: n |s| s := n. ^[:i| s := s+i. ] Why ? Cheers, Laurent Laffont Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/
Hi, I can't write
foo: n ^[:i| s := s+i. ] but foo: n |s| s := n. ^[:i| s := s+i. ] Why ? Cheers, Laurent Laffont Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/