
- 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.
7 lines
167 B
COBOL
7 lines
167 B
COBOL
identification division.
|
|
program-id. cobol.
|
|
procedure division.
|
|
main.
|
|
display 'Hello, world.' end-display.
|
|
stop run.
|