Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!nike!ucbcad!ucbvax!decvax!decwrl!amdcad!amdimage!cmoore From: cmoore@amdimage.UUCP Newsgroups: net.lang.f77 Subject: INTEGER*2 in f77 Message-ID: <18@amdimage.UUCP> Date: Fri, 27-Jun-86 16:21:43 EDT Article-I.D.: amdimage.18 Posted: Fri Jun 27 16:21:43 1986 Date-Received: Sun, 29-Jun-86 06:30:03 EDT Distribution: net Organization: AMDIMAGE, Sunnyvale, CA Lines: 17 Help! I'm not much of a fortran person, so this may be a dumb question, but I'm having problems getting something to work in IBM's Fortran 77 for the IBM PC. The IBM manual says that an INTEGER*2 must be in the range of -32767 to 32767. What happened to -32768??? The manual says that this is an invalid integer. Is there really no way to get 8000 hex into a 2 byte value? Is this something weird in IBM's implementation, or is this standard f77? -- =========================================================== Any project can be built with a handful of parts if you have big enough hands. Chris Moore (408) 749-4692 UUCP: {ucbvax,decwrl,ihnp4,allegra}!amdcad!amdimage!cmoore