Hi Guys,
Someone was wanting named arguments the other day, so I had a quick
first attempt at them tonight. You can see the results at
http://pipapo.org/iowiki/PasteBin/methodWithNamedArgs
o := Object clone
o test := methodWithNamedArgs(a, x, b, y,
assert( (x + y) == 10 )
assert( (a + b) == 31 )
)
o test(13, y=3, x=7, 18)
So who is going to be first to find a bug? ;-)
Jonathan.