Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > I

IFLE

Scroll Prev Top Next More

(IFLE(arg1,arg2,arg3,arg4))

 

If arg1 is less than or equal to arg2, IFLE returns the value of arg3. If arg1 is greater than arg2, IFLE 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 vifle is 100, since A is less than B.

 

SET VAR A = 37

SET VAR B = 48

SET VAR vifle = (IFLE(.A,.B,100,100))