Le lundi 06 aoû¹ 2007 19:44 +0900, Robert Dober a ñÄrit :
> def then &b; b.call end
> def else &b;  b.call end
> sendif 1 < 2, then { p "gagnee"}, else { puts "perdu"}
output: "gagneeperdu" (or "perdugagnee")
result: nil

the 2 arguments are valued BEFORE calling the function...
you can't do that without macro or lazy-function

-- 
Etienne Vallette d'Osia