This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
OR

OR 


 

OR ( logicalValue {, logicalValue2 , ... , logicalValueN} ) 
Parameter Type   Description
logicalValue  Boolean, Array, Expression in Value(s) to evaluate

The OR function returns False if the evaluation of all parameters is false. It returns True if the evaluation of at least one the parameters is true.

The function accepts boolean values as numeric (0 or 1) or logical expressions (TRUE or FALSE) for up to 255 arguments. You can also specify a single array instead of listing the values separately, or up to 255 arrays. You can also specify the logicalValue as an expression.

Example  

OR(B3,B6,B9)

OR(D2:D12)

OR(TRUE,FALSE,FALSE) //TRUE

OR(TRUE()) //TRUE

OR(FALSE(),FALSE()) //FALSE

OR(1+1=1,2+2=5) //FALSE

OR(5+3=8,5+4=12) //TRUE



See also 

AND
NOT

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Formulas

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)