On Oct 23, 2011, at 20:14 PM, nop head wrote: > Actually it does work. I forgot that you need a boolean. This works: > > function toto(k) = k > 0 ? toto(k - 1) + k : 0; > This was an oversight. You can now use any expression. The value will be converted to bool in the same way as for if/else. -Marius