Thanks for all replies and hints. My question was, actually, whether Fortran itself does offer such a possibility. It seems, regrettably, it does not. Non-advancing input excludes list-directed format. Formatted STREAM input which, in principle, should provide such a functionality, for some reason does not either, working in a record-oriented way, contrary to the very idea of stream, what was already discussed here.
msz59
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Allocation of array for reading strings from a text file | 20 | 2127 | July 19, 2024 | |
|
Reading lines from a file without padding
|
4 | 2438 | March 31, 2022 | |
| Reading variable length characters from file | 9 | 2456 | October 11, 2021 | |
| How can I set an array to the contents of a file? | 8 | 1433 | December 12, 2021 | |
| Reading data: format of variables | 12 | 790 | March 11, 2023 |