99 bottles of beer: Difference between revisions
m
used the inline lambdas, and auto property setter
No edit summary |
m (used the inline lambdas, and auto property setter) |
||
Line 4,088:
model
int initialBottlesCount, bottlesCount
new by int =bottlesCount
me.initialBottlesCount = bottlesCount
end
fun subject =
fun bottles =
fun goToWall = void by block
text line = me.bottles() + " " + me.subject() + " of beer on the wall, " +
|