Deutsch English Français Italiano |
<vdpq3c$d31a$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lynn McGuire <lynnmcguire5@gmail.com> Newsgroups: comp.lang.fortran Subject: Re: Is there a way in Fortran to designate an integer value as integer*8 ? Date: Fri, 4 Oct 2024 17:26:52 -0500 Organization: A noiseless patient Spider Lines: 27 Message-ID: <vdpq3c$d31a$2@dont-email.me> References: <vdict2$339ak$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 05 Oct 2024 00:26:53 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1892f54363d27548bd9f9e56dd6ba4ac"; logging-data="429098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qK4PxUSSKrs0fJ/e1p2zzeElqOsWLJLA=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:03BZX9P0T6YMb0raQw42i7ISCZY= Content-Language: en-US In-Reply-To: <vdict2$339ak$1@dont-email.me> Bytes: 1671 On 10/1/2024 9:58 PM, Lynn McGuire wrote: > I need many of my integers to be integer*8 in my port to 64 bit. In C/ > C++ code, I can say 123456L to mean a long long value, generally 64 > bit. Is there a corresponding way to do this in Fortran or am I stuck > with: > > call xyz (1) > > subroutine xyz (ivalue) > integer*8 ivalue > ... > return end > > must be: > > integer*8 ivalue > ... > ivalue = 1 > call xyz (ivalue) > > Thanks, > Lynn Thanks to all for their several solutions ! Lynn