File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
rpgJavaInterpreter-core/src/test
kotlin/com/smeup/rpgparser/evaluation Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -2255,6 +2255,15 @@ Test 6
2255
2255
assertEquals(expected, " INDIC02" .outputOf())
2256
2256
}
2257
2257
2258
+ @Test
2259
+ fun executeINDIC03 () {
2260
+ val expected = listOf (
2261
+ " *INKA(0) *IN01(1)" ,
2262
+ " *INKA(1) *IN01(0)"
2263
+ )
2264
+ assertEquals(expected, " INDIC03" .outputOf())
2265
+ }
2266
+
2258
2267
@Test
2259
2268
fun executeBIFCHECK () {
2260
2269
assertEquals(listOf (" ok" ), outputOf(" BIFCHECK" ))
Original file line number Diff line number Diff line change
1
+ D £DBG_Str S 50 VARYING
2
+
3
+ C MOVEL *ON *IN01
4
+ C MOVEL *OFF *INKA
5
+ *
6
+ C EVAL £DBG_Str = '*INKA(' + %CHAR ( *INKA ) + ')'
7
+ C + ' *IN01(' + %CHAR ( *IN01 ) + ')'
8
+ C £DBG_Str DSPLY
9
+ * result: '*INKA(0) *IN01(1)'
10
+ *
11
+ C MOVEL *OFF *IN01
12
+ C MOVEL *ON *INKA
13
+ *
14
+ C EVAL £DBG_Str = '*INKA(' + %CHAR ( *INKA ) + ')'
15
+ C + ' *IN01(' + %CHAR ( *IN01 ) + ')'
16
+ C £DBG_Str DSPLY
17
+ * result: '*INKA(1) *IN01(0)'
18
+ C SETON LR
You can’t perform that action at this time.
0 commit comments