next up previous contents index
Next: 7.11.7 Financial Functions Up: 7.11 Quick-Reference Guide to Previous: 7.11.5 Logic Functions

7.11.6 Digital Logic Functions

   

@AND(...) -
0 if any arguments are 0; 1 if all arguments   are 1; otherwise -1.

@NAND(...) -
0 if all arguments are 1; 1 if any arguments   are 0; otherwise -1.

@NOR(...) -
0 if any arguments are 1; 1 if all arguments   are 0; otherwise -1.

@NOT(X) -
0 if X=1; 1 if X=0; otherwise -1.  

@OR(...) -
0 if all arguments are 0; 1 if any arguments   are 1; otherwise -1.

@XOR(...) -
-1 if any of the arguments are not 0 or 1;   otherwise 0 if the total number of arguments with the value 1 is even; 1 if the total number of arguments with the value 1 is odd.


next up previous contents index
Next: 7.11.7 Financial Functions Up: 7.11 Quick-Reference Guide to Previous: 7.11.5 Logic Functions

NExS User's Guide, Version 1.4.5
Grey Trout Software
11 April 1999