Silverfrost Forums

Welcome to our forums

Allocate using Source=

7 Nov 2023 7:24 #30709

The following program should allocate the logical array and assign all values to .false., but in FTN95 the array is not allocated.

Program p
   Logical, Dimension(:), Allocatable :: l
   Allocate ( l(2), Source=.false. )
   Print *, l
End Program p
8 Nov 2023 7:37 #30713

Simon

Thank you for the feedback. I have made a note of this failure.

9 Nov 2023 11:14 #30721

This issue has now been fixed for a future release of FTN95.

Please login to reply.