> maybe this has been suggested (and rejected) before. but how about having
> something similar to implicit statements.
>
> for eg:
>
> implicit real_kind(selected_real_kind(12,30))
>
> then all the literals/non-type-specificied reals and complexes(?) can be
> of the implicit kind specified. put it in the same place as an implicit
> statement or even allow it to be in a module and make everything accessing
> this module have the implicit type conversion.
This was first suggested by a theoretical physicist at CERN shortly before
Fortran 90 was finalized. At that time, it was judged to be too late.
Regards,
Mike Metcalf
|