Deutsch English Français Italiano |
<vdrpmr$qmut$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu> Newsgroups: comp.lang.fortran Subject: Re: Is there a way in Fortran to designate an integer value as integer*8 ? Date: Sat, 5 Oct 2024 16:32:27 -0000 (UTC) Organization: A noiseless patient Spider Lines: 45 Message-ID: <vdrpmr$qmut$1@dont-email.me> References: <vdict2$339ak$1@dont-email.me> <vdm3lb$1b8pr$1@paganini.bofh.team> <vdmbvt$3p2dv$2@dont-email.me> <vdmimv$1c18c$1@paganini.bofh.team> <vdmrj9$3rih7$3@dont-email.me> <vdn4i2$3ssv4$8@dont-email.me> <vdof50$1jtk1$1@paganini.bofh.team> <vdphnl$bgk6$2@dont-email.me> <vdpj0j$bnf1$1@dont-email.me> <vdr11a$1st6j$1@paganini.bofh.team> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 05 Oct 2024 18:32:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5e0e2783320d9559c7edd9c7bc7be0ac"; logging-data="875485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19f8v4tP9TN3bYVoN6wTC1r" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Cancel-Lock: sha1:7rNuqCuqpICv2c68vJEWNZHfAP8= Bytes: 2813 On Sat, 05 Oct 2024 11:31:22 +0200, R Daneel Olivaw wrote: > Steven G. Kargl wrote: >> On Fri, 04 Oct 2024 20:04:05 +0000, Lawrence D'Oliveiro wrote: >> >>> On Fri, 4 Oct 2024 12:13:52 +0200, R Daneel Olivaw wrote: >>> >>>> but not as friendly as >>>> character*28 txthdr /'Text header, with a comma ' / >>> >>> With all these additions to Fortran, I keep wondering “when will they >>> finish reinventing PL/I?”. Because at an early point in the development >>> of PL/I, they were going to call it “FORTRAN VI”. >>> >>> One PL/I feature still missing from Fortran is VARYING strings. >> >> The above line of code in not standard conforming Fortran. >> > > I have not fed it through the compiler I used to use (mainframe, and I > no longer have access) but that compiler conformed to Fortran77 to the > extent they did not even offer integer*8. > They did have some local extensions (statement functions) but they were > clearly marked as non-standard in the manuals. Yes, it was an extension. It is supported by gfortran. % cat a.f90 program testprog character*28 txthdr /'Text header, with a comma ' / print *, txthdr end program testprog % gfcx -o z a.f90 && ./z Text header, with a comma % gfcx -o z -std=f2023 a.f90 && ./z a.f90:2:25: 2 | character*28 txthdr /'Text header, with a comma ' / | 1 Error: GNU Extension: Old-style initialization at (1) -- steve