Silverfrost Forums

Welcome to our forums

Are allocatable arrays allowed in a Type definition?

7 May 2009 10:08 #4533

Hello,

Does FTN95 allow allocatable arrays in a Type definition?

Something like:

Type Testtype

Integer, allocatable :: a(:)
Real, allocatable :: b(:)

Endtype Testtype

Best regards

Albert

7 May 2009 10:32 #4534

You can with the latest release of FTN95. Automatic deallocation (when going out of scope) probably won't happen.

Please login to reply.