RCODE-INFO handle
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
A handle to a specific ABL r-code file.
Syntax
|
- attribute
- Specifies an attribute of the
RCODE-INFOhandle.
Attributes
Example
The following example prompts for the name of an r-code file and returns its CRC code and the languages for which it is compiled:
r-rcode.p
|
Notes
- In Windows, the filename cannot contain characters outside of the non-Unicode code page. See Internationalize ABL Applications for more information about Unicode and code pages.
- ABL generates an r-code file when you compile a procedure with the
SAVEoption of theCOMPILEstatement. You cannot use theRCODE-INFOhandle to get information on session compiles. - To use the
RCODE-INFOhandle, you must first set theFILE-NAMEattribute to the name of an r-code file (with or without a .r or .p extension). If you do not provide a full pathname, ABL searches your PROPATH to find the file. You can then read theCRC-VALUEattribute andLANGUAGESattribute to get information on the file. If the r-code file is not found, bothLANGUAGESandCRC-VALUEare set to the Unknown value (?). - The
LANGUAGESattribute holds a comma-separated list of language names supported by the r-code. The default segment appears in the list as the value<unnamed>. - The
CRC-VALUEattribute returns the r-code CRC value stored in the r-code. The calculation for this value is based on the filename and contents of the procedure file during compilation. This value is different from any database CRCs that are stored in the r-code. For more information on CRCs, see Manage ABL Applications. - The
TYPEattribute returns the widget type, PSEUDO-WIDGET. - The
DISPLAY-TYPEattribute holds a value of "GUI" for a graphical display, "TTY" for a character-mode display, or a blank string ("") for code that does not contain any display-specific statements. Use of this attribute allows developers to determine if the r-code contains statements that make it executable only in the same display environment on which it was compiled.