Skip to content

Instantly share code, notes, and snippets.

@yvan
Last active September 10, 2019 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yvan/43f979b4e3e9ebcd11b1d602208b8446 to your computer and use it in GitHub Desktop.
Save yvan/43f979b4e3e9ebcd11b1d602208b8446 to your computer and use it in GitHub Desktop.
*> 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.
@saw303
Copy link

saw303 commented Sep 10, 2019

@yvan
Copy link
Author

yvan commented Sep 10, 2019

fixed.

@saw303
Copy link

saw303 commented Sep 10, 2019

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

@yvan
Copy link
Author

yvan commented Sep 10, 2019

🆗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment