You have probably figured out TYPE vs CLASS when declearing dummy aeguments (equiv to function parameters in C) by now (2yrs later), but for anyone wondering: CLASS(type-name) is polymorphic and will allow an actual argument of the declared type (ie. "type-name") or one that extends that type, whereas TYPE(type-name) allows only arguments of that declared type. CLASS also allows abstract types.
You have probably figured out TYPE vs CLASS when declearing dummy aeguments (equiv to function parameters in C) by now (2yrs later), but for anyone wondering:
CLASS(type-name) is polymorphic and will allow an actual argument of the declared type (ie. "type-name") or one that extends that type, whereas TYPE(type-name) allows only arguments of that declared type. CLASS also allows abstract types.
Awsome Explaination. Thanks man.,
Really enjoy watching your Fortran videos
Hello! Thank you for the video. What IDE are you using?
Thank you!
Ofc!
Evil mode emacs FTW!
Make pi as PI=4.d0*DATAN(1.0d0)