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.comwww.facebook.com/rbase

