I've see this in espresso, Is there anybody can tell my how to use this? Thanks
Y yozloy macrumors newbie Original poster Dec 8, 2009 7 0 Sep 3, 2010 #1 I've see this in espresso, Is there anybody can tell my how to use this? Thanks
L LPZ macrumors 65816 Jul 11, 2006 1,221 2 Sep 3, 2010 #2 yozloy said: I've see this in espresso, Is there anybody can tell my how to use this? Thanks Click to expand... Can't make much sense of your image, but if you're asking about (condition)? expr : expr it might be used like this: Code: min_of_a_and_b = ( a < b )? a : b or like this Code: absolute_value_of_x = ( x < 0 )? -x : x
yozloy said: I've see this in espresso, Is there anybody can tell my how to use this? Thanks Click to expand... Can't make much sense of your image, but if you're asking about (condition)? expr : expr it might be used like this: Code: min_of_a_and_b = ( a < b )? a : b or like this Code: absolute_value_of_x = ( x < 0 )? -x : x
angelwatt Moderator emeritus Aug 16, 2005 7,852 9 USA Sep 3, 2010 #3 I believe that symbol is for the tab key.