LINTYPE

Finds the line type
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('LINTYPE', type, return-code-variable);

Required Arguments

type
numeric variable name; returns the index of the line type currently selected. Refer to Line Types for representations of the line types.
return-code-variable
numeric variable name; returns the return code of the routine call, which can be 0 or 8. See Return Codes for DSGI Routines and Functions.

Details

The GASK('LINTYPE', . . . ) routine returns the current line type. If no line type was previously selected with the GSET('LINTYPE', . . . ) function, GASK('LINTYPE', . . . ) returns the default value, 1.