[mod.computers.vax] VAX FORTRAN query

macmillan%wnre.aecl.cdn%ubc.CSNET@CSNET-RELAY.ARPA (John MacMillan) (05/28/86)

Why does the compiler let you get away with this?

	vf=.1
	ref=10.
	fc=ref**(-0.67)*vf
	type *,fc
	fc=ref**-0.67*vf
	type *,fc
	end

gives

2.1379620E-02
0.8570378

John MacMillan
Atomic Energy of Canada
Whiteshell Nuclear Research Establishment
Pinawa, Manitoba, Canada R0E 1L0

(204) 753-2311 ext. 2539

MCDONALD@UMKCVAX1.BITNET.UUCP (06/02/86)

  While I'm not at all enthralled by this *feature*,

        IT WORKS AS DOCUMENTATED (PROGRAMMING IN VAX-FORTRAN p. 6-34)

  It is a definite in the .. when porting over old programs!

                                        GaryM.  BITNET contact UMKCVAXn (n=1,3)
                                        Univ. of Mo. at K.C.
                                        MCDONALD @ UMKCVAX1 . BITNET