-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92bfc5c
commit 9a6e99b
Showing
4 changed files
with
65 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
rpgJavaInterpreter-core/src/test/resources/smeup/T04_A15_P02.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
D name S 30A | ||
D pos S 5U 0 | ||
D £DBG_Str S 30 | ||
D £DBG_Pas S 3 | ||
* | ||
C EVAL £DBG_Pas='P02' | ||
* | ||
C EVAL name = 'Amit Jaiswal' | ||
C EVAL pos = %check('Jais' : name:6) | ||
C EVAL £DBG_Str='P02_01('+%char(pos)+')' | ||
C £DBG_Str DSPLY | ||
* | ||
C EVAL name = 'Amit Jaiswal' | ||
C EVAL pos = %check('A' : name:6) | ||
C EVAL £DBG_Str='P02_02('+%char(pos)+')' | ||
C £DBG_Str DSPLY | ||
* | ||
C SETON LR |
28 changes: 28 additions & 0 deletions
28
rpgJavaInterpreter-core/src/test/resources/smeup/T04_A15_P03.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
D name S 30A | ||
D pos S 5U 0 | ||
D £DBG_Str S 30 | ||
D £DBG_Pas S 3 | ||
D alphabet C 'ABCDEFGHIJKLMNOPQRSTUVWXYZ + | ||
D abcdefghijklmnopqrstuvwxyz + | ||
D 0123456789+/' | ||
* | ||
C EVAL £DBG_Pas='P03' | ||
* | ||
C EVAL name = 'Amit Jaiswal' | ||
C EVAL pos = %check(alphabet: name) | ||
C EVAL £DBG_Str='P03_01('+%char(pos)+')' | ||
C £DBG_Str DSPLY | ||
* | ||
C EVAL name = '££ t abc1234' | ||
C EVAL pos = %check(alphabet: name) | ||
C EVAL £DBG_Str='P03_02('+%char(pos)+')' | ||
C £DBG_Str DSPLY | ||
* | ||
C IF %CHECK(alphabet: 'Antonio Cosentino')= 0 | ||
C EVAL £DBG_Str='P03_03(ok)' | ||
C ELSE | ||
C EVAL £DBG_Str='P03_03(ko)' | ||
C ENDIF | ||
C £DBG_Str DSPLY | ||
* | ||
C SETON LR |