Re: How to do a seek (nonadvancing read) on a stream file?

2025-02-03 Thread Andi McClure
llow for an unformatted stream file. Unless you do the "silly" thing I eventually did, which is to bundle your seek together with the next advancing read.) Thanks for the information. On Mon, Feb 3, 2025 at 1:34 PM Andi McClure wrote: > Last week, as an exercise in learning FORTRAN,

How to do a seek (nonadvancing read) on a stream file?

2025-02-03 Thread Andi McClure
Last week, as an exercise in learning FORTRAN, I did a programming puzzle ( https://adventofcode.com/2024/day/4 ) with gfortran. I targeted the 2023 standard (*not* GNU). I saw two oddities. The first I posted about in this mailing list already (and it turns out there is a relevant bugzilla bug).

gfortran not following deferred initialization rules for get_command_argument

2025-02-02 Thread Andi McClure
This last week, as an exercise in learning FORTRAN, I attempted to complete a programming puzzle ( https://adventofcode.com/2024/day/4 ) with gfortran. I made a specific decision to target the 2023 standard and *not* the GNU standard. I believe I have found a nonconformance with gfortran 14.2.0 ta