Timeline for Are there any primary sources for the “passing constant by reference” behavior in old Fortran compilers?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 29, 2021 at 2:18 | comment | added | dave | I deleted a previous comment - I'd looked at this thread on an inadequate screen and thought the code had literally 3 = 1 . Nevermind.... | |
May 28, 2021 at 11:34 | comment | added | dave | I do note that one Jimi Hendrix was aware of this, but evolved programming techniques to avoid problems: "if six turned out the be nine, I don't mind". | |
May 26, 2021 at 23:18 | history | edited | scruss | CC BY-SA 4.0 | completely rewritten, thanks to Leo B. |
May 26, 2021 at 23:00 | comment | added | scruss | Thanks, @LeoB.! Your program, modified slightly, produced the expected if odd) result. I'll rewrite the answer | |
May 26, 2021 at 22:26 | comment | added | Leo B. | You're restoring the value of 1 at the end of IMDFY . Please try the code in my answer (omitting the PROGRAM header and changing PRINT to WRITE , if necessary). | |
May 26, 2021 at 21:58 | history | answered | scruss | CC BY-SA 4.0 |