Make cobol.cbl a well-formed COBOL program.

- Start statements after seven columns.
- Use lowercase, as it is less hideous.
- Terminate `display` properly with `end-display`.
- Make the `program-id` field match the file name.
This commit is contained in:
Aaron Muir Hamilton
2016-07-14 18:20:44 -04:00
committed by GitHub
parent 1def7381b8
commit 3e8f5ba47d

View File

@@ -1,6 +1,6 @@
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.
PROCEDURE DIVISION.
MAIN.
DISPLAY 'Hello, world.'.
STOP RUN.
identification division.
program-id. cobol.
procedure division.
main.
display 'Hello, world.' end-display.
stop run.