Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1 +0,0 @@
|
|||
01 some-bool PIC 1 BIT.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
01 X PIC 9.
|
||||
88 X-Is-One VALUE 1.
|
||||
88 X-Is-Even VALUE 0 2 4 6 8.
|
||||
88 X-Larger-Than-5 VALUE 6 THRU 9.
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
PROGRAM-ID. Condition-Example.
|
||||
|
||||
DATA DIVISION.
|
||||
WORKING-STORAGE SECTION.
|
||||
01 Foo PIC 9 VALUE 5.
|
||||
88 Is-Not-Zero VALUE 1 THRU 9
|
||||
WHEN SET TO FALSE IS 0.
|
||||
|
||||
PROCEDURE DIVISION.
|
||||
Main.
|
||||
PERFORM Is-Foo-Zero
|
||||
|
||||
SET Is-Not-Zero TO FALSE
|
||||
PERFORM Is-Foo-Zero
|
||||
|
||||
SET Is-Not-Zero TO TRUE
|
||||
PERFORM Is-Foo-Zero
|
||||
|
||||
GOBACK
|
||||
.
|
||||
|
||||
Is-Foo-Zero.
|
||||
IF Is-Not-Zero
|
||||
DISPLAY "Foo is not zero, it is " Foo "."
|
||||
ELSE
|
||||
DISPLAY "Foo is zero."
|
||||
END-IF
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue