| |
| | Math 60 -- Chapter 15 |
 | | To access a field of a derived type variable, in general, the principles are the same as with C++ or Pascal, except that, instead of using the period (dot),. |
 | | It is possible to use modules to define a derived type and also encapsulate the key components of the new type, protecting these componenets from unintended changes. |
 | | This is most easily done by defining a derived type with private data components within a module, and also including within the module local subprograms which automatically have access to the private data components of the derived type. |
| math.scu.edu /~dsmolars/ma60/nchpt15.html (1214 words) |
|