
Originally Posted by
RobS
My Honeywell training course in 1972 was for FORTRAN D and they used their own compiler. FORTRAN is intended to be a very portable language, so one would use the native compiler for the computer on which it is run. My reason for opting to do my calculations in EASYCODER was that even then our computer had no hardware multiply or divide and the software versions built into the Honeywell compilers weren't that great. In those days writing good routines to do those tasks was a game played by aspiring programmers. Our company required us to use actuarial rounding in our calculations as financial calculations need different consideration from scientific ones when choosing a rounding method, so we incorporated the rounding into our routines when we designed them.
The progressive calculation of Pi that I've written as a demonstration programme for the H-200 doesn't use conventional multiplication or division instructions and wouldn't benefit from them much, even on a computer which had them. Also it doesn't use a return stack as the most basic H-200 didn't have that facility either. Memory was too small and expensive then to waste it on a stack. In fact where a conventional modern programme would use a stack this programme contrives to use a first-in-first-out queue, which is more useful because it is continually looping and taking the oldest data to use in the newest calculations. Top down structured programming with subroutines is a common style of programming now but it isn't the best solution for every occasion. In the days when computers had little brains programmers had to exercise theirs a lot to compensate. The "Go To" instruction didn't die out; it lives on with an assumed name under a witness protection programme in every computer.
Bookmarks