Appendix A.  CRBasic Programming Instructions 
 
EQV 
Performs a logical equivalence on two expressions. 
Syntax 
result = expr1 EQV expr2 
NOT 
Performs a logical negation on an expression. 
Syntax 
result = NOT expression 
OR 
Performs a logical disjunction on two expressions. 
Syntax 
result = expr1 OR expr2 
XOR  
Performs a logical exclusion on two expressions. 
Syntax 
result = expr1 XOR expr2 
IIF 
Evaluates a variable or expression and returns one of two results based on the 
outcome of that evaluation. 
Syntax 
Result = IIF (Expression, TrueValue, FalseValue) 
IMP 
Performs a logical implication on two expressions. 
Syntax 
result = expression1 IMP expression2 
 
A.7.6  Trigonometric Functions 
A.7.6.1  Intrinsic Trigonometric Functions 
ACOS 
Returns the arccosine of a number. 
Syntax 
x = ACOS(source) 
566