Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

logicalop

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

Right Hand Pointer

7.2.2.4 Logical operator logicalop

    logicalop::=

&
!


The operators ! and & are called logical operators. (They are given the names or and and, respectively.) They operate on the truth-value interpretations of their arguments, and they produce truth-value results.

A ! B = { 0 if both A and B have the value 0
1 otherwise
A & B = { 1 if both A and B have the value 1
0 otherwise

The dual operators '& and '! are defined by:

    A '& B = '(A & B)
A '! B = '(A ! B)
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2018 MUMPS Development Committee;
Copyright © Examples: 1995-2018 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2018 Ed de Moel.

This page most recently updated on 29-Nov-2011, 22:23:19 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)