Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > I

IFNE

Scroll Prev Top Next More

(IFNE(arg1,arg2,arg3,arg4))

 

If arg1 and arg2 are not equal, IFNE returns the value of arg3. If arg1 and arg2 are equal, IFNE 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 vifne is 7, since v1 is not equal to v2.

 

SET VAR v1 = 25

SET VAR v2 = 30

SET VAR vifne = (IFNE(.v1,.v2,7,8))