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 LANGUAGES option of the COMPILE statement. 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 2GB.

Figure 1. R-code file segment layout