Kbase P19312: What code page was used to compile some .r code file ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/05/2005 |
|
Status: Unverified
GOAL:
What code page was used to compile some .r code file ?
FIX:
Even when the Code Page information is stored in the .r code files there is not a Progress utility to print out this information.
However it is possible to use the The RCODE-INFO:CODEPAGE System Handle to get this information in a 4GL program.
Example :
DEFINE VARIABLE rcode-file AS CHARACTER FORMAT "X(60)" LABEL "File".
REPEAT:
SET rcode-file WITH FRAME rc-info.
RCODE-INFO:FILE-NAME = rcode-file.
DISPLAY RCODE-INFO:CODEPAGE LABEL "Code Page"
WITH FRAME rc-info TITLE "R-Code Check".
END.