aboutsummaryrefslogtreecommitdiff
path: root/examples/HELLO_WORLD.CBL
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-05-22 04:21:33 -0700
committerFuwn <[email protected]>2022-05-22 04:21:33 -0700
commit16cb282ad266674de090cc5c6439944e242074c5 (patch)
treee067967f45c880053fe3063642f0167689c32ddf /examples/HELLO_WORLD.CBL
downloadrules_cobol-main.tar.xz
rules_cobol-main.zip
feat(0.1.0): initial releaseHEAD0.1.0main
Diffstat (limited to 'examples/HELLO_WORLD.CBL')
-rw-r--r--examples/HELLO_WORLD.CBL8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/HELLO_WORLD.CBL b/examples/HELLO_WORLD.CBL
new file mode 100644
index 0000000..704c58a
--- /dev/null
+++ b/examples/HELLO_WORLD.CBL
@@ -0,0 +1,8 @@
+ IDENTIFICATION DIVISION.
+ PROGRAM-ID. HELLO_WORLD.
+ DATA DIVISION.
+ WORKING-STORAGE SECTION.
+ 77 FOO PIC 99 VALUE 43.
+ PROCEDURE DIVISION.
+ DISPLAY "Hello, World!" FOO
+ STOP RUN.