I agree with your observations, a derived type would be spot on if Fortran allowed an access operator like discussed here, that apparently not many care about…
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Transferring bits with different integer KINDs | 18 | 492 | May 20, 2026 | |
| BITS type in F202Y | 27 | 1750 | August 7, 2023 | |
| -fallow-argument-mismatch | 76 | 5049 | December 20, 2022 | |
| Fortran 2023 standard | 153 | 9998 | January 9, 2024 | |
| Should these various ways of converting anything to an array of bytes not produce the same answer? | 13 | 603 | January 19, 2023 |