VPOS

Finds the number of rows
Operating state: All

Syntax

CALL GASK('VPOS', vpos, return-code-variable);

Required Arguments

vpos
numeric variable name; returns the number of rows in the graphics output area.
return-code-variable
numeric variable name; returns the return code of the routine call, which is 0. See Return Codes for DSGI Routines and Functions.

Details

The GASK('VPOS', . . . ) routine returns the current number of rows in the graphics output area. GASK('VPOS', . . . ) searches for the current number of rows in the following order:
  1. the value selected in the GSET('VPOS', . . . ) function
  2. the value of the VPOS= graphics option
  3. the device's default VPOS value found in the device entry