[comp.lang.fortran] Fortran 8x range "type", how do we access the components?

hallidayd@yvax.byu.edu (06/23/89)

As I recall the proposed Fortran 8x standard, at least prior to the last
revision, the EXPONENT_RANGE type parameter for REAL and COMPLEX intrinsic
types is specified as  lowest_exponent : highest_exponent , where
lowest_exponent and highest_exponent are INTEGERS.  My question is how can
we access the two INTEGER components of such ranges?  I suspect we should
be able to access this information since there are intrinsic functions
which return ranges, such as the Range(X) function.

I am not asking how to access the lowest and highest exponents for a given
REAL or COMPLEX number type for a represented EXPONENT_RANGE, this is
accomplished though the MaxExponent(X) and MinExponent(X) functions.

My question comes about when trying to implement a parameterized user type
that uses an EXPONENT_RANGE like parameter.  (By the way, can someone
please refresh my memory concerning the syntax for defining parameterized
user data types, and for using such data types in specifying variables of
said type.)

   _____________________________________
  / David Halliday                      \
  |                                     |
  | Internet:    hallidayd@yvax.byu.edu |
  | BITNET:      hallidayd@byuvax       |
  | Us Mail:     BYU Physics Department |
  |              296 ESC                |
  |              Provo, UT  84602       |
  \_____________________________________/