aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-projects/plugins/project/src/rpg/MYPROGRAM.rpg
blob: b7d36daaa025cf8c73f6a55a3de65c72f5e5150f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
123456789012     C* Expressions in Extended Factor 2 syntax 
123456789012     C                   IF        A=X OR A=Y AND A=Z 
123456789012     C                             AND B=Y
123456789012     C                   READ      Y
123456789012     C                   ENDIF
123456789012     C                   IF        A=X OR A=Y AND A=Z 
123456789012     C                             AND B=Y OR B=Z
123456789012     C                   READ      Y
123456789012     C                   ENDIF
123456789012     C* Expressions composed over several operations in IF
123456789012     C     A             IFEQ      X
123456789012     C     A             OREQ      Y
123456789012     C     A             ANDEQ     Z
123456789012     C     B             ANDEQ     Y
123456789012     C                   READ      Y
123456789012     C                   ENDIF
123456789012     C     A             IFEQ      X
123456789012     C     A             OREQ      Y
123456789012     C     A             ANDEQ     Z
123456789012     C     B             ANDEQ     Y
123456789012     C     B             OREQ      Z
123456789012     C                   READ      Y
123456789012     C                   ENDIF
123456789012     C* Expressions composed over several operations in DO
123456789012     C     A             DOUEQ     X
123456789012     C     A             OREQ      Y
123456789012     C     A             ANDEQ     Z
123456789012     C     B             ANDEQ     Y
123456789012     C                   READ      Y
123456789012     C                   END
123456789012     C     A             DOUEQ     X
123456789012     C     A             OREQ      Y
123456789012     C     A             ANDEQ     Z
123456789012     C     B             ANDEQ     Y
123456789012     C     B             OREQ      Z
123456789012     C                   READ      Y
123456789012     C                   END
123456789012     C* Expressions composed over several operations in WHEN
123456789012     C                   SELECT
123456789012     C     A             WHENEQ    X
123456789012     C     A             OREQ      Y
123456789012     C     A             ANDEQ     Z
123456789012     C     B             ANDEQ     Y
123456789012     C                   READ      Y
123456789012     C                   END
123456789012     C                   SELECT
123456789012     C     A             WHENEQ    X
123456789012     C     A             OREQ      Y
123456789012     C     A             ANDEQ     Z
123456789012     C     B             ANDEQ     Y
123456789012     C     B             OREQ      Z
123456789012     C                   READ      Y
123456789012     C                   END