Jump to content

Type detection: Difference between revisions

m
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.
 
===Unlimited typedata polymorphism===
Below I use ‘class(*)’. The ‘print_text’ subroutine is used to print a string, an array of strings, and an input file.
 
1,448

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.