Type detection: Difference between revisions
Content added Content deleted
Line 575: | Line 575: | ||
Legacy versions of Fortran have ways to store data of one type in a variable declared as some other type, and this mechanism could be employed. |
Legacy versions of Fortran have ways to store data of one type in a variable declared as some other type, and this mechanism could be employed. |
||
===Unlimited |
===Unlimited data polymorphism=== |
||
Below I use ‘class(*)’. The ‘print_text’ subroutine is used to print a string, an array of strings, and an input file. |
Below I use ‘class(*)’. The ‘print_text’ subroutine is used to print a string, an array of strings, and an input file. |
||