FORTRAN: determine variable type
Posted
by tibbs
on Stack Overflow
See other posts from Stack Overflow
or by tibbs
Published on 2010-04-01T12:13:13Z
Indexed on
2010/04/01
14:33 UTC
Read the original article
Hit count: 156
hello,
GOOGLE has yet to find an answer for me, so here goes:
In FORTRAN, is there a way to determine the TYPE of a variable? E.G., pass the variable type as an argument in a function, to then be able to call type-specific code with that fuction; eliminating the need to have seperate similar functions for each data type. thanks.
© Stack Overflow or respective owner