On Jul 26, 2:40 am, Terence <
tbwri...@cantv.net> wrote:
> I explained "PUNCH" to Hadi and how to replace that statement, and
> sent him the TO-F95 converter.
>
> He seems to have some Fortran IV source that has dropped faint commas,
> (maybe from scanning listings), so I explained the error messages he
> was getting from one of the free fortran compilers. So he has a
> compiler that does most of the job he needs.
>
> However, as I explained in another place, my conversion of 66 BMD
> Fortran IV programs this last year did have its problems, mostly DEC-
> caused. So it isn't all that easy, even getting to F77code.
Yes those old moldy program can be a real pain, particulary with
vendor specific extensions.
Here are some I've ran into recently:
1. emulating keyed access on files transferred (sort of) from a VMS
system.
2. Hollerith data packed into integers. There's nothing like the joy
of dealing with 5 characters packed to a word. ((7 bit) ASCII in a 36
bit word).
3. initializaing character constants with octal numbers in data
statements.
4. allowing a mixture of declaration and data statements, for example
INTEGER K,J / 3,4 /
5 carriage control characters in format statements
6. ANSI terminal escape characters
7. subroutines that use alternate return arguments
But I have not seen any of these recently:
1. Arithmetic IFs
2. Computed GO TOs
--- Elliot