<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Trebuchet MS" size=2>Hi,</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>I've got an array to which I've assigned a
list of random numbers (e.g., Array(0) = random(0,100)). I need to find
which element/array position has the lowest value without sorting the array
(position in the array is important for another variable later on). I've
spent a good amount of time searching to figure out what the code is to find the
minimum value of a list of variables, but haven't found anything yet.
There is no obvious documentation of a general "find min" and "find max"
function outside of the summation object. (Note that a summation object won't
help because it will return the minimum of a set of values, but will not, as far
as I can tell, indicate which variable (or observation) the minimum value is
linked to). There's got to be a find min/max ability in there
somewhere! Can anyone point me in the right direction?</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>Thanks!</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>Colleen</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS"
size=2>---------------------------------------<BR>Colleen Parks,
Ph.D.<BR>Psychology Department<BR>University of California<BR>One Shields
Ave.<BR>Davis, CA 95616</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><A
href="mailto:cmparks@ucdavis.edu">cmparks@ucdavis.edu</A><BR>530.754.9439</FONT></DIV></BODY></HTML>