C Collection of code snippets by Arne Vajhøj 
C (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
      program cre
      open(unit=1, file='for.txt', status='new')
      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
