It was *extremely* cut-n-paste. The proggy was not that hard - it loaded crypto keys into a pinpad so it merely did a dozen or so send data, receive data cycles. Thing was, one cycle was 15 lines of Fortran. And that was cut-n-pasted everywhere it was needed.... *NGNHG*

After I rewrote it in C on a PC, the development guy who got to maintain it discovered he didn't know C anywhere near as well as he thought he did. Pointers to functions? Arrays of structures? Finite state machines? It was all new to him.

Wade.