allocatable-array Questions

2

I am using GNU Fortran (GCC) 4.8.2 I want to read allocatable arrays from a namelist. But I don't know in advance how many elements have to be read into the allocatable array, so I cannot allocate ...
Carline asked 2/12, 2016 at 14:56

3

Solved

Let me consider a function returning an allocatable array. Should the array variable holding the result (outside the function) be allocated before an assignment? Consider, e.g., the following progr...
Silesia asked 7/11, 2019 at 13:48
1

© 2022 - 2025 — McMap. All rights reserved.