cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CBL_EQ Details (↑ Logic Operator Routines)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Description:
 
     The routine starts at the left-hand end of source and target and
     EQUIVALENCEs the bits together, storing the result in target. The
     truth table for this is:
 
                source target result
                   0     0      1
                   0     1      0
                   1     0      0
                   1     1      1
 
     See also: Introduction to logic routines
 
  Parameters on Entry:
 
     source                  One of the data items to EQUIVALENCE.
 
     target                  The other data item to EQUIVALENCE.
 
     length                  The number of bytes of source and target
                             to EQUIVALENCE. Positions in target beyond
                             this length are unchanged.
 
  Parameters on Exit:
 
     target                  The result.
                                    -♦-