C Collection of code snippets by Arne Vajhøj 
C (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
      program seg
      open(unit=1, file='seg.dat', status='new',
     +     form='unformatted', recordtype='segmented')
      write(unit=1) 'A'
      write(unit=1) 'BB'
      write(unit=1) 'CCC'
      close(unit=1)
      end
