C Collection of code snippets by Arne Vajhøj 
C (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
      program crex
      open(unit=1, file='forx.txt', status='new',
     +     recordtype='stream_lf', carriagecontrol='list')
      write(unit=1, fmt='(1x,A)') 'A'
      write(unit=1, fmt='(1x,A)') 'BB'
      write(unit=1, fmt='(1x,A)') 'CCC'
      close(unit=1)
      end
