Previous Topic: UDEFINE CommandNext Topic: UDEFINE Statement


SET Statement

The following SET statement sets the value of the LINECT variable to the total number of lines on the screen:

SET LINECT,&SCRNROWS

&SCRNROWS is an ACL/E variable which represents the total number of rows (or lines) on the screen. For example, if a screen has 24 lines, the value of &SCRNROWS is 24.

Two other ACL/E variables are &SCRNCOLS, which represents the number of columns on the screen, and &SCRNSIZE, which represents the total number of characters on the screen (absolute screen size) in bytes. For example, if a screen has 80 columns and 24 rows, the value of &SCRNSIZE is 1920.