HPOS

Finds the number of columns
Operating state: All

Syntax

CALL GASK('HPOS',hpos, return-code-variable);

Required Arguments

hpos
numeric variable name; returns the number of columns 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('HPOS', . . . ) routine returns the number of columns currently in the graphics output area. GASK('HPOS', . . . ) searches for the current number of columns in the following order:
  1. the value selected in the GSET('HPOS', . . . ) function
  2. the value of the HPOS= graphics option
  3. the device's default HPOS value found in the device entry