Progress
Programming
Handbook
Field- and Variable-level Design
Progress designs frames at compile time. In a top-to-bottom pass of your procedure, the Progress Compiler encounters fields, variables, and expressions and their related format specifications. The Compiler adds these fields and expressions to the layout of the appropriate frame. Progress always designs for all possible cases. That is, if there are several fields that might be displayed in a frame, Progress makes room for all of them.
As Progress designs each frame, it makes some decisions regarding the individual fields and variables in the frame:
- All references to the same field or variable map to the same frame position.
- If labels are above the data (column labels), each field or variable is allocated a column. The width of the column is either the width of the format or the width of the label, whichever is larger.
- Array frame field labels are followed by a subscript number in square brackets. Progress determines the labels at compile time. It omits subscripts if the array subscript is variable or if you specify a label in the frame definition by using the LABEL keyword in a format phrase.
- Constants used in DISPLAY are treated as expressions, each occupying a separate frame field.
For more information on field and variable display formats, see the DISPLAY Statement reference entry in the Progress Language Reference . Also see Representing Data." in this manual.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |