30.09.2016, 20:44
I know you fixed it already, but I would like to share this for anyone who's looking for a function like this (not expecting anything)
PHP код:
returnLowestValue( arr[ ], len ) {
new val = 0x7FFFFFFF;
for( new i; i < len; i ++ ) if( arr[ i ] < val ) val = arr[ i ];
return val;
}