Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>amin() - find minimum value in an array</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     amin() - find minimum value in an array
  Usage:    <integer> = amin(<array>)
  Params:   array <array>, an array of numbers
  Returns:  the smallest number contained in the array

 ---------------------------------- Example ---------------------------------

                 declare numbers[5]
                 numbers[1] = 2094.00
                 numbers[2] = 2500.56
                 numbers[3] = 19001.44
                 numbers[4] = 8.2
                 numbers[5] = 99.15

                 ? amin(numbers)
                 * prints 8.2

See Also: amaxn() amax()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson