Thanks for the prompt replies! I gave it another try and realized that my question is needless. Using the code like
module mymod
type :: type_a
logical val
type(type_b), pointer :: myptr
end type
type :: type_b
logical val
type(type_b), pointer :: myptr
end type
end module...
hi everyone!
i am looking for a simple way to do the following in Fortran 2003 (using ifort 12.0.0):
module mymod
type, abstract :: type_a
logical val
type(type_b), pointer :: myptr
end type
type, abstract :: type_b
logical val
type(type_b), pointer :: myptr
end type
end...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.