Example—Passing an Array to a 3GL Procedure
Assume, for example, a frame that displays a line chart constructed dynamically from values in a database table. This frame calls a 4GL procedure named scale_y_array to calculate an array of Y-axis values. The scale_y_array procedure can be written in embedded SQL to enhance performance when calculating many graph points.
The following sections describe a 3GL version of the scale_y_array procedure.