| Deutsch English Français Italiano |
|
<vnr9i9$1eo3r$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!eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: basic BASIC question Date: Mon, 3 Feb 2025 15:39:37 -0500 Organization: A noiseless patient Spider Lines: 32 Message-ID: <vnr9i9$1eo3r$1@dont-email.me> References: <vnipj8$3i2i9$1@dont-email.me> <vniue9$3j9pr$1@dont-email.me> <679d001e$0$713$14726298@news.sunsite.dk> <vnj81l$ga7$4@reader2.panix.com> <679d26bd$0$713$14726298@news.sunsite.dk> <679d4c9b$0$713$14726298@news.sunsite.dk> <vnr28k$1d7as$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 03 Feb 2025 21:39:38 +0100 (CET) Injection-Info: dont-email.me; posting-host="323475dd673a7dd6bb4188a80b5269ae"; logging-data="1532027"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+WO4eTToBJR6z4dFVBxvp51irQhsRXyM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:N/98Sl5U8zK9BivC186KAVVITJY= Content-Language: en-US In-Reply-To: <vnr28k$1d7as$2@dont-email.me> Bytes: 2194 On 2/3/2025 1:35 PM, Simon Clubley wrote: > On 2025-01-31, Arne Vajhøj <arne@vajhoej.dk> wrote: >> Fortran got some other rather unique usages >> of logicals: >> >> $ type morelogfun.for >> program morelogfun >> logical*1 a(12) >> data a/1hH,1he,1hl,1hl,1ho,1h ,1hw,1ho,1hr,1hl,1hd,1h!/ >> integer*4 i >> write(*,*) (a(i),i=1,12) >> write(*,'(1x,12a1)') (a(i),i=1,12) >> end >> $ for morelogfun > > DEC Fortran still allows Hollerith constants without having to specify > a compiler option to enable them ? > > For people who do not know historical Fortran, see: > > https://en.wikipedia.org/wiki/Hollerith_constant > > Hollerith constants have been removed from the current Fortran language > standards (and rightly so). It is an extension in VMS fortran. And even though it is a horrible way to do text, then it is not something one get to use accidentally. Arne