TEXINDEX

Finds the index of the bundle of text attributes currently selected
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('TEXINDEX', index, return-code-variable);

Required Arguments

index
numeric variable name; returns the text bundle index.
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('TEXINDEX', . . . ) routine returns the current text bundle. If no text bundles have been previously defined with GSET('TEXREP', . . . ) or activated with GSET('TEXINDEX', . . . ), GASK('TEXINDEX', . . . ) returns the default value, 1.