5 ms·
And some languages did even stranger things. For example COBOL's ALTER statement allowed you to modify the target of a given GO TO. The result is that any giv
by btilly 7y ago
And some languages did even stranger things.
For example COBOL's ALTER statement allowed you to modify the target of a given GO TO. The result is that any given GO TO could theoretically transfer control anywhere in the program, based on a statement that could have appeared anywhere else in the program.
Yes, this was used in production. In code that handled real financial transactions.