pike.git / lib / modules / Geography.pmod / Position.pike

version» Context lines:

pike.git/lib/modules/Geography.pmod/Position.pike:522:   int `>(object pos)   {    if (pos->lat<lat) return 1;    else if (pos->lat==lat && pos->long<long) return 1;    return 0;   }      //!   string _sprintf(int|void t)   { -  switch(t) -  { -  case 't': return "Geography.Position"; -  case 'O': return "Position("+latitude()+", "+longitude()+")"; +  return t=='O' && sprintf("%O(%s, %s)", latitude(), longitude());   } -  return 0; - } +