title: Write to screen in the same line fortran
body: <p>I am looking to output some numbers to the screen in Intel Fortran, By default Fortran writes a new line everytime I output something to the screen. Is there anyway to avoid this? </p>
  
  <p>Here is a sample of my code:</p>
  
  <pre><code>PROGRAM sample
  integer :: ind
  
  do ind = 1,20
      write(*,*) ind
      !Some other stuff here
  end do
  
  END PROGRAM
  </code></pre>
  
  <p>I tried to use the no-advance option but it did not work:</p>
  
  <pre><code>PROGRAM sample
  integer :: ind
  
  do ind = 1,20
      write(*,*,advance='no') ind
      !Some other stuff here
  end do
  END PROGRAM
  </code></pre>
  
  <p>Ideally what I want is to output the following to the screen:</p>
  
  <pre><code>1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
  </code></pre>
  
  <p>All in the same line. Is there ant way of doing this in fortran?</p>