PROGRAMMING TUTORIAL

Remebering things
I'm gettin older.  This 'remembering stuff' is harder than it looks.
Here is code to remember three little bytes of information.
INTEGER FIRTRM
INTEGER SECTRM
INTEGER THRTRM

FIRTRM = 1
FIRTRM = 1
THRTRM = 2


Decisions, decisions....
IF (FORTRAN 66)
or
IF / THEN / ENDIF (FORTRAN 77)
Obviously computers, like scientific calculators, can easily make
calculations, but via a high-level programming language, a computer can
easily decisions.

Looping around and around...
DO
GOTO
Either by using an IF, some code, and making an unconditional jmp with
Wirth's enemy the dreaded GOTO, OR by a DO loop, you can a task(s) a
number of times or until a criteria is met.

Cleaner, more readable code...
When I was a kid, I'd read and punch in ( some of them, it took forever)
BASIC programs from books and magazines.  BASIC was a teaching language
(see also Pascal) but it taught some bad habits like disorganization and
"spaghetti code".

One of the goals of programing is to keep the programs as short as possible.
Especially in a loop, so The FORTRAN Gods gave us:

SUBROUTINES to refer to code elsewhere for brevity's sake and

FUNCTIONS to similarly stay orgranized.