Prints the maximum and minimum of an IDL variable.
Utility
variable: in, required, type=any The variable whose minimum and maximum you wish to know.
NAN: in, optional, type=boolean Set this keyword to ignore NANs in the variable. Default: 0. TEXT: in, optional, type=string Prepend this string to the output of MinMax. Default: "MinMax: ".
The MaxMin routine gives the range of the variable:: IDL> a = Findgen(11) IDL> MaxMin, a, TEXT='Variable A:' Variable A: 11 0
FANNING SOFTWARE CONSULTING:: David W. Fanning 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com
Change History:: Written, 20 Sept 2010. Changed name of program from MinMax to MaxMin to avoid conflict with MinMax program in NASA Astronomy Library. 1 Nov 2010. DWF.
Copyright (c) 2010, Fanning Software Consulting, Inc.