Ahh, the good old days. Basic and Fortran to create punch-tapes to run CNC machines, err make that NC machines. G-code, Algebraic equations, if-then statements, fun stuff!
edit: Conditional Expressions! (I had to look it up)
Ahh, Fortran! Now there is a language I could relate to, unlike Cobol gibberish. PL1 was kinda like a merging of those. G-code is still used, but I don't know how the old compares to the current.