Progress
Language Reference


UNDERLINE Statement

Interfaces
OS
SpeedScript
All
All
No

Underlines a field or variable, using the next display line for the underline.

SYNTAX

UNDERLINE [ STREAM stream ] field ... [ frame-phrase ] 

STREAM stream

Specifies the name of a stream. If you do not name a stream, Progress uses the unnamed stream. See the DEFINE STREAM Statement reference entry in this book and the chapter on alternate I/O sources in the Progress Programming Handbook for more information on streams.

field

Represents the name of the field or variable you want to underline.

frame-phrase

Specifies the overall layout and processing properties of a frame. For more information on frame-phrase, see the Frame Phrase reference entry.

EXAMPLE

This procedure produces a report of customer records, categorized by state. When the last customer for a certain state has been displayed (determined by the LAST-OF function), the UNDERLINE statement underlines the state field.

r-under1.p
FOR EACH customer BREAK BY state WITH USE-TEXT: 
  DISPLAY state cust-num name. 
  IF LAST-OF(state) THEN UNDERLINE state. 
END. 

NOTES

SEE ALSO

DEFINE STREAM Statement, Frame Phrase


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095