[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] _ ? 0
{ |x| x ? 0 } or, { arg x; if(x.isNil) { 0 } { x } };
The other is { arg x; x * 2 }
hjh
On Dec 14, 2007 4:15 PM, PyoungRyang Ko <pyoungryang.ko@xxxxxxxxxxxxxx> wrote:
>
> Dear advanced users,
>
> How can be written the follwoing function without any abbreviation?
>
> _ ? 0
>
> _ * 2
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman