C Collection of code snippets by Arne Vajhøj 
C (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
      program bufovr
      character*4 s1, s2
      common /b/s1,s2
      write(*,*) %loc(s1), %loc(s2)
      s2 = 'XXXX'
      call subbo1(s1)
      write(*,*) s1//s2
      call subbo2(s1)
      write(*,*) s1//s2
      end
c
      subroutine subbo1(s)
      character*(*) s
      s = 'ABCDEFGH'
      end
c
      subroutine subbo2(s)
      character*8 s
      s = '12345678'
      end
