• Re: Math and programming

    From dmux@VERT/ABINARY to poindexter FORTRAN on Mon Sep 22 12:47:00 2025
    Numerical Recipes in C

    Hah, I have a hardcover copy of this book in my cubicle. I found it at the thrift store. I find the code rather incomprehensible though.

    --- Mystic BBS v1.12 A49 2024/05/29 (Windows/32)
    * Origin: Archaic Binary * bbs.archaicbinary.net
  • From poindexter FORTRAN@VERT/REALITY to dmux on Sat Oct 11 16:05:53 2025
    Re: Re: Math and programming
    By: dmux to poindexter FORTRAN on Mon Sep 22 2025 12:47 pm

    Hah, I have a hardcover copy of this book in my cubicle. I found it at the thrift store. I find the code rather incomprehensible though.

    The FORTRAN version I started out with was great, the code was quite readable. I don't know if it was FORTRAN 66 or FORTRAN 77, but back then the looping was pretty simple. They might have had a GOSUB command back then, not sure now.

    I wish I'd saved my code from school - lots of ANSI C compiled on PC, VAX assembly language and FORTRAN on a variety of big iron. Even some Modula-2 and LISP!

    ---
    þ Synchronet þ .: realitycheckbbs.org :: scientia potentia est :.
  • From Dr. What@VERT/CABANABR to poindexter FORTRAN on Sun Oct 12 10:29:00 2025
    The FORTRAN version I started out with was great, the code was quite readable. I don't know if it was FORTRAN 66 or FORTRAN 77, but back then the looping was pretty simple. They might have had a GOSUB command back then, not sure now.

    That's what a SUBROUTINE was for under FORTRAN. No GOSUB needed.

    But FORTRAN did have some interesting IF and GOTO constructs.

    ex: IF (variable) label-1,label-0,label+1
    or 2 types of computed GOTOs. One similar to BASIC's ON GOTO. But the other you could set a variable to a label and goto the variable.

    --- Mystic BBS v1.12 A48 (Windows/32)
    * Origin: bbs.CabanaBar.net:11123