Ver Mensaje Individual
  #8 (permalink)  
Antiguo 26/02/2002, 02:28
Tukzone
 
Fecha de Ingreso: febrero-2001
Mensajes: 1.374
Antigüedad: 24 años, 2 meses
Puntos: 11
Re: Conocer el max de una matriz

Y si por esas casuales de la vida lo tenes que hacer también en Flash:

yourArray = new Array (30, 25, 2, 67, 99);

function selectHigherValue(x) {
x.sort();
higherVal = x[ [(x.length) - 1] ];
return(higherVal);

}
selectHigherValue(yourArray););

Nunca se sabe

<hr noshade size=1><font color="#CC0000" face=Arial size=1>500 rutinas ordenadas por categorías: JS, ASP, PHP, Actionscript y VB!<br><font color="#000000" face=Arial size=1>Descargá <a href="http://www.webtutorial.com.ar/">ScriptMaster v1.0</a>[/CODE]