I copied your example for writing a CSV file, but
call f%add(['x','y','z','t']) is writing the x into the row.
My total output is given by:
"y","z","t","�"
1.000,2.000,3.000,T
4.000,5.000,6.000,F
I am using OSX with gfortran 7.2.0 with the command gfortran main.f90 -L fortran-csv-module/lib/ -lcsv