View previous topic :: View next topic |
Author |
Message |
simon
Joined: 05 Jul 2006 Posts: 270
|
Posted: Tue Nov 07, 2023 8:24 pm Post subject: Allocate using Source= |
|
|
The following program should allocate the logical array and assign all values to .false., but in FTN95 the array is not allocated.
Code: | Program p
Logical, Dimension(:), Allocatable :: l
Allocate ( l(2), Source=.false. )
Print *, l
End Program p |
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Wed Nov 08, 2023 8:37 am Post subject: |
|
|
Simon
Thank you for the feedback. I have made a note of this failure. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Thu Nov 09, 2023 12:14 pm Post subject: |
|
|
This issue has now been fixed for a future release of FTN95. |
|
Back to top |
|
|
|