Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > I

IFLT

Scroll Prev Top Next More

(IFLT(arg1,arg2,arg3,arg4))

 

If arg1 is less than arg2, IFLT returns the value of arg3. If arg1 is greater than arg2, IFLT returns the value of arg4. The data types of arg1 and arg2 must match and the data types of arg3 and arg4 must match.

 

In the following example, the value of viflt is 4, since A is less than B.

 

SET VAR A = 37

SET VAR B = 48

SET VAR viflt = (IFLT(.A,.B,4,5))