Mike/Razzak, Perfect. I forget to look in the functions area.
Jan -----Original Message----- From: "A. Razzak Memon" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Tue, 26 Feb 2013 13:21:21 -0500 Subject: [RBASE-L] - Re: Comparing 3 variables > At 01:10 PM 2/26/2013, jan johansen wrote: > > >Brain cramp. > > > >I need to find the MAX of 3 variables and struggling on the syntax. > > > Here's how: > > SET VAR vMax = (LMAX(.v1,.v2,.v3)) > > LMAX returns the maximum value in list. > > Values in a list can be a CURRENCY, DOUBLE, REAL, INTEGER, NUMERIC, > DATE, or TIME data type. The function LMAX is not the same as the > function MAX, which is used only with the SELECT command. > > That's all there is to it! > > Very Best R:egards, > > Razzak. > > www.rbase.com > www.facebook.com/rbase > >

