Deutsch   English   Français   Italiano  
<uummsk$24cdv$1@paganini.bofh.team>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: R Daneel Olivaw <Danny@hyperspace.vogon.gov>
Newsgroups: comp.lang.fortran
Subject: Re: Feed control
Date: Thu, 4 Apr 2024 19:09:40 +0200
Organization: To protect and to server
Message-ID: <uummsk$24cdv$1@paganini.bofh.team>
References: <1596392834@usenet> <uumlbu$or3f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 4 Apr 2024 17:09:40 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="2240959"; posting-host="XBJBjenliTep7OIZ0g9xdw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 SeaMonkey/2.53.18.2
X-Notice: Filtered by postfilter v. 0.9.3
Bytes: 2473
Lines: 40

Gary Scott wrote:
> On 4/4/2024 8:52 AM, Dr. What wrote:
>> -=> Gary Scott wrote to All <=-
>>
>>   GS> On 4/3/2024 7:43 AM, db wrote:
>>   > When I learned Fortran many years ago, the first
>>   > character in a line to be printed (or later,
>>   > displayed) controlled line or page feed. A blank
>>   > produced a new line, a "1" a new page. We used these
>>   > to control what happened.
>>   >
>>   > These days, this doesn't seem to be the case, so
>>   > in a sense, Fortran is no longer backward
>>   > compatible in this one sense. Or is it?
>>   >
>>
>>   GS> This was always, and remains device dependent.
>>
>> That's not completely true.
>>
>> Using MS-FORTRAN on my vintage computers, I always have to start my
>> FORMATs
>> with "1X".  If I fail to do that, the output, even to the screen, chops
>> off
>> that first character.
> 
> Hmmm.  I'd say that's precisely what "device dependent" means.  Although 
> some behavior in MS Fortran was just bugs.
>>
>>
>> ... Epitaph on a gravestone: Cheerio, see you soon.
>> ___ MultiMail/Linux v0.52
>>
> 

Not at all, the 1X means that the line-feed character is a space.  A "+" 
there would probably overlay whatever had previously been printed to 
that line with something new.
I have used several different compilers on several different 
architectures over the years (the newest adhered to the F77 standard) 
and the meaning of the first character on a line was common to all of them.