cobol1.hlp (Topic list)
CBL_AND Details (↑ Logic Operator Routines)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Description:
 
     The routine starts at the left-hand end of source and target and
     ANDs the bits together, storing the result in target. The truth
     table for this is:
 
                source target result
                   0     0      0
                   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 AND.
 
     target                  The other data item to AND.
 
     length                  The number of bytes of source and target
                             to AND. Positions in target beyond this
                             are unchanged.
 
  Parameters on Exit:
 
     target                  The result.
                                    -♦-