Originally posted by RichardCranium
View Post
Equally the first 4 items (assuming they are indeed constant) could have been defined as a level 78 (if supported by the compiler) or they could have been defined in the constant section (if supported by the compiler in question).
CREC should probably also be a typedef (if supported)
The code of the main program fails the full ANSI '85 syntax check as well for at least 1 reason (no data division - and it never was optional if any of the sections were used). If memory serves the standard did make the environment division optional.
Far too many bloody variations. Post 85 standard everybody has gone their own way a bit.
Anyway I could update it all to object cobol in no more than 250 lines of new code. There's progress.....
Leave a comment: