Try OpenEdge Now
skip to main content
Managing ABL Applications
R-code Features and Functions : R-code structure : R-code file segment layout
 

R-code file segment layout

The following image shows the segment layout in an r-code file. A compiled procedure requires one initial value segment, one main action code segment, one expression code segment, one text segment, and one debugger segment. There can be more action and expression code segments, up to the limit, as required by your procedure. There can be multiple frame segments, one segment for each frame in your procedure. The maximum number of frame segments is virtually unlimited.
There can also be multiple text segments, one segment for the default language and each language that you choose for translation. The default language segment contains the literal character strings defined in the original ABL source file. You can create additional text segments by using the Translation Manager. Although multiple text segments are possible, only one text segment is available per language. Thus, the literal character strings for a given language cannot exceed 4MB. For more information about natural language translation for ABL procedures, see OpenEdge Development: Translation Manager.
Figure 14. R-code file segment layout