Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: shepard@tcg.anl.gov (Ron Shepard)
Subject: Re: Recent Digital Fortan incompatibility for Sign Extension of Untyped Bit Constants
Date: 1996/12/18	[thread overview]
Message-ID: <shepard-1812961539190001@macrls.tcg.anl.gov> (raw)
In-Reply-To: 5999tu$mn6@stc06.ctd.ornl.gov


In article <5999tu$mn6@stc06.ctd.ornl.gov>, lmp@ornl.gov (Lester Petrie) wrote:

>Does this mean that on the VAX, if I 
>
>     call sub1 ( x, n, 1 )
>                       ^
>
>where sub1 is
>
>     subroutine sub1 ( x, n, i )
>     dimension x(n)
>     integer i
>     ...
>     end
>
>that "i" is going to be a number > 2**16?
>This doesn't seem reasonable to me, even if it is
>18 year old behavior.

No, default integers on a VAX are INTEGER*4.  I'm not sure where the
INTEGER*2 value got into this discussion.  Was there an implicit statement
or something that I missed?

$.02 -Ron Shepard



  reply	other threads:[~1996-12-18  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-17  5:00 Recent Digital Fortan incompatibility for Sign Extension of Untyped Bit Constants Takashi Ichihara
1996-12-17  5:00 ` Steve Lionel
1996-12-18  5:00   ` Petrie L M
1996-12-18  5:00     ` Ron Shepard [this message]
1996-12-19  5:00     ` Steve Lionel
1996-12-18  5:00   ` John Hascall
1996-12-19  5:00     ` Steve Lionel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox