This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Since getarg() returns strings, I was just wondering precisely how one converts a string to the proper numerical type desired?
Strangely, the manual (gfortran.pdf) really does not show any practical example for using getarg() as regards converting to numerical types.
I = IChar('123') ! Integer (How are the other types handled?)
no matter how often I read through that manual, I see nothing about obtaining a REAL (single,double, let alone their attributes) from a String! Did I miss something?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |