comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: min/max routines
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: min/max routines [message #7405 is a reply to message #7403] Wed, 13 November 1996 00:00 Go to previous messageGo to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Dot Delapp wrote:
>
> Is there a routine similar to the fortran and c min max functions
> that returns the max or min of two numbers?
>
> Thanks

Sure!

IDL> a = 40
IDL> b = 45
IDL> print, min([a,b]), max([a,b])
40 45

--
Andrew F. Loughe afl@cdc.noaa.gov
University of Colorado, CIRES http://cdc.noaa.gov/~afl
Campus Box 449 phn:(303)492-0707 fax:(303)497-7013
Boulder, CO 80309-0449 "He who laughs last thinks slowest!"
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Inverse of POLYFILLV
Next Topic: Inverse of POLYFILLV

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Nov 28 16:55:27 PST 2025

Total time taken to generate the page: 1.36658 seconds