Understanding the need for class variables and select type

@beliavsky, for a good introduction to OOP in Fortran I highly recommend the chapter on Object-Oriented programming in Stephen Chapman’, “Fortran for Scientists and Engineers (4th edition”, McGraw-Hill. When I first starting trying to learn OOP I struggled with a lot of the concepts because they were usually described in languages (C++, Smalltalk, etc) that I had no experience with. Just being able to see the concepts expressed in Fortran was a big help, plus I think Chapman’s discussion of OOP is one of the clearest and easiest to understand that I’ve seen for any language. Also, this book appears to have undergone a large drop in price lately. It was around $335 dollars at one time. Amazon currently lists the paperback version at $127 and the eBook at $67

3 Likes