pike.git / lib / modules / Array.pmod

version» Context lines:

pike.git/lib/modules/Array.pmod:69:    int i = sizeof(arr);       while(i) {    int j = random(i--);    if (j != i) {    mixed tmp = arr[i];    arr[i] = arr[j];    arr[j] = tmp;    }    } -  return(arr); +  return arr;   }      //! @[search_array()] works like @[map()], only it returns the index   //! of the first call that returnes true instead.   //!   //! If no call returns true, -1 is returned.   //!   //! @seealso   //! @[sum()], @[map()]   //!