Re: Lambdas
Posted: Sat Apr 11, 2009 1:24 pm
By the way, "int32" is the default for "int". Also "i = 0" is equivalent to "i as int = 0".
Discussion about the Cobra programming language.
http://cobra-language.com/forums/
for i in lowerLimit : upperLimit
print i
if doSum(i)
sum += i
return sum
jonathandavid wrote:This blog post is worth a read.
http://unlimitednovelty.com/2009/03/ind ... ortem.html
I post it in this thread because it talks about multi-line lambdas.