Previous Topic: &LOOPCTL

Next Topic: &LUEXTCO


&LUCOLS

Indicates the number of columns currently allocated to this processing window.

NCL procedures displaying output might want to determine the width of the processing window. In this way, procedures is developed that cater for differing screen sizes.

The &LUCOLS system variable is tested to determine the number of display columns available to a processing window.

The system supports split screen operation with a maximum of two operational windows. When using split screen operation, the number of display columns available to the procedure might be less than the physical width for the screen. The &LUCOLS system variable always reflects the number of display columns for that window.

Example: &LUCOLS

&IF &MINWIDTH GT &LUCOLS &THEN +
  &GOTO .NOGOOD

Note: The dimensions of the physical terminal (regardless of the window dimensions) is determined from the &ZCOLS and &ZROWS system variables.

More information:

&LUROWS

&ZCOLS