I never use TAB myself with Fortran: it’s not in the Fortran character set, and is it always the same number of blanks in all systems? Also CRquantum’s last 2 read statements used format (a30). Then csvname and parcsvname may have collected the # and some stuff beyond it. I usually use (A) when reading character variables, but there may be a good reason why CRquantum did not. Does # have some special meaning to Microsoft? (I use Linux myself so I don’t know.)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Cannot read namelist when using MPI (Intel OneAPI + Windows 10)
|
0 | 357 | February 21, 2023 | |
| Best way to read only last two real values in a line using read in Fortran | 26 | 4308 | July 15, 2022 | |
| How to read only some values from a namelist? | 10 | 3746 | September 21, 2020 | |
| Add a specifier to namelist read that requires all members to be read | 24 | 1238 | July 29, 2024 | |
| Reading data into direct access files | 39 | 3034 | October 21, 2021 |