-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added command line option for the alphanumeric literals encoding
- Loading branch information
1 parent
a97d0c5
commit 7efa05c
Showing
7 changed files
with
78 additions
and
25 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
IDENTIFICATION DIVISION. | ||
PROGRAM-ID. prog. | ||
DATA DIVISION. | ||
WORKING-STORAGE SECTION. | ||
01 HEXX PIC X(35). | ||
88 HEXX-FILLER VALUE ALL "-". | ||
PROCEDURE DIVISION. | ||
MAIN-PROCEDURE. | ||
PERFORM DO-CHECK. | ||
GOBACK. | ||
|
||
DO-CHECK. | ||
SET HEXX-FILLER TO TRUE | ||
STRING FUNCTION HEX-OF (N"€€") | ||
DELIMITED BY SIZE INTO HEXX. | ||
IF HEXX NOT = "AC20AC20---------------------------" | ||
DISPLAY "UNEXPECTED HEX-VALUE OF N'€€': " HEXX. |
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