On 21 Mar 2007 at 15:09, woodelf wrote:
But then a ISZ style loop seems to map to Fortran
better.
Algol loops seem to imply a AC style testing. Also Algol
seems to require some sort of index register, something
many machines do not have.Algol for the PDP-8 gets around
this as you can not comnile subroutines.
Or a BXLE or IBXLE or any number of other implementations on various
mainframes. I believe that most FORTRAN IV implementations
guaranteed that the DO-loop would be executed at least once,
regardless of the intial values, something not shared with Algol.
Cheers,
Chuck