Last active
September 10, 2019 13:33
-
-
Save yvan/43f979b4e3e9ebcd11b1d602208b8446 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*> setup the identification division | |
IDENTIFICATION DIVISION. | |
*> setup the program id | |
PROGRAM-ID. HELLO. | |
*> setup the procedure division (like 'main' function) | |
PROCEDURE DIVISION. | |
*> print a string | |
DISPLAY 'WILLKOMMEN'. | |
*> end our program | |
STOP RUN. |
fixed.
Wow, that was fast :)
FYI: Now your blog post is out of sync https://medium.com/@yvanscher/7-cobol-examples-with-explanations-ae1784b4d576
Should output:
WILKOMMEN
🆗
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a typo in https://gist.github.com/yvan/43f979b4e3e9ebcd11b1d602208b8446#file-first_cobol_hello-cbl-L8
DISPLAY 'WILLKOMMEN'.