SCREEN DELETE_LINE

SCREEN DELETE_LINE deletes one or more lines from a window and scrolls the remaining lines up into the space created by the deletion.  Blank lines fill the window from the bottom.  The cursor is positioned at the beginning of the first deleted line.

SYNTAX

SCREEN DELETE_LINE /USING/ window_id, start_row, number_of_rows

window_id

is an integer system field, Global Storage (GS) field, or user-defined field that contains the window ID assigned to the window.

start_row

is an integer expression that specifies the first line to be deleted from the window.

number_of_rows

is an integer expression that specifies the number of lines to be deleted.

EXAMPLE

SCREEN DELETE_LINE USING MAIN_ID,10,10

This example deletes lines 10 through 20 in the specified window.

Back to Statement and Commands    Next page SCREEN DELETE_WINDOW