From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,1555b3aaf4501faf X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,1555b3aaf4501faf X-Google-Attributes: gid10f8a1,public X-Google-Thread: f7cd1,1555b3aaf4501faf X-Google-Attributes: gidf7cd1,public X-Google-Thread: 1164f8,1555b3aaf4501faf X-Google-Attributes: gid1164f8,public X-Google-Thread: 1094ba,1555b3aaf4501faf X-Google-Attributes: gid1094ba,public From: shepard@tcg.anl.gov (Ron Shepard) Subject: Re: Recent Digital Fortan incompatibility for Sign Extension of Untyped Bit Constants Date: 1996/12/18 Message-ID: #1/1 X-Deja-AN: 204798291 references: <1996Dec17.055242.11669@riksun.riken.go.jp> <5974lu$e3d$1@nntpd.lkg.dec.com> <5999tu$mn6@stc06.ctd.ornl.gov> organization: Argonne National Laboratory, Chicago IL newsgroups: comp.lang.fortran,comp.os.vms,vmsnet.alpha,vmsnet.misc,comp.sys.dec 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