Fortran 2008

Doctor Fortran in "Revert! Revert! The End (of the format) is Nigh!"

Recently, a customer wrote in our User Forums that he wanted to write out the values of an array, all in one line, where the number of elements was not known at compile time.  His first attempt at this was:

write (30,'(2x,f8.2)') array

and he was dismayed to find each element written on a new line.  He had then tried this variant:

write (30,'(2x,f8.2)',advance='no') array

Iscriversi a Fortran 2008