summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-08-09 14:52:43 -0700
committerGitHub <noreply@github.com>2020-08-09 14:52:43 -0700
commitf19bab44fb1c8e0ecb134a18d93d043d0b60b6cd (patch)
treedfe9629b967cc803e3138078af83d0c685a48e7a
parent36d86cd4d45cd8f1f13deb0a8d35b56f45754d1e (diff)
Fix comments not getting recognized
Looks like the vertical alignment in one section was causing the comments to not be recognized
-rw-r--r--cobol.html.markdown27
1 files changed, 14 insertions, 13 deletions
diff --git a/cobol.html.markdown b/cobol.html.markdown
index 7b60a2e6..7d94d8c9 100644
--- a/cobol.html.markdown
+++ b/cobol.html.markdown
@@ -50,21 +50,22 @@ organizations.
*Almost every COBOL programmer will abbreviate PICTURE as PIC.
*A is for alphabetic, X is for alphanumeric, and 9 is for numeric.
- *example:
- 01 MYNAME PIC xxxxxxxxxx. *> A 10 character string.
+ *example:
+ 01 MYNAME PIC xxxxxxxxxx. *> A 10 character string.
- *But counting all those x's can lead to errors, so the above code can, and should,
- *be re-written as:
- 01 MYNAME PIC X(10).
+ *But counting all those x's can lead to errors,
+ *so the above code can, and should
+ *be re-written as:
+ 01 MYNAME PIC X(10).
- *Here are some more examples:
- 01 AGE PIC 9(3). *> A number up to 3 digits.
- 01 LAST_NAME PIC X(10). *> A string up to 10 characters.
+ *Here are some more examples:
+ 01 AGE PIC 9(3). *> A number up to 3 digits.
+ 01 LAST_NAME PIC X(10). *> A string up to 10 characters.
- *In COBOL, multiple spaces are the same as a single space, so it is common
- *to use multiple spaces to line up your code so that it is easier for other
- *coders to read.
- 01 inyear picture s9(7). *> S makes number signed.
+ *In COBOL, multiple spaces are the same as a single space, so it is common
+ *to use multiple spaces to line up your code so that it is easier for other
+ *coders to read.
+ 01 inyear picture s9(7). *> S makes number signed.
*> Brackets indicate 7 repeats of 9,
*> ie a 6 digit number (not an array).
@@ -105,7 +106,7 @@ organizations.
PROCEDURE DIVISION.
FIRST-PARA.
DISPLAY 'THIS IS IN FIRST-PARA'.
- PERFORM THIRD-PARA THRU FOURTH-PARA. *>skip over second-para and perfrom 3rd & 4th
+ PERFORM THIRD-PARA THRU FOURTH-PARA. *>skip second-para and perfrom 3rd & 4th
*> then after performing third and fourth,
*> return here and continue the program until STOP RUN.