how to use this shortcut?

Discussion in 'Mac Basics and Help' started by yozloy, Sep 3, 2010.

  1. yozloy macrumors newbie

    Joined:
    Dec 8, 2009
    #1
    [​IMG]

    I've see this in espresso, Is there anybody can tell my how to use this?
    Thanks
     
  2. LPZ macrumors 65816

    Joined:
    Jul 11, 2006
    #2
    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
     
  3. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA

Share This Page