PATREP

Finds the pattern name assigned to a style index
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('PATREP', index, pattern-name, hatch-name, return-code-variable);

Required Arguments

index
numeric variable name; returns the index of the pattern currently selected.
pattern-name
character variable name; returns the name of the pattern at the specified index.
hatch-name
character variable name; returns the name of the hatch at the specified index.
return-code-variable
numeric variable name; returns the return code of the routine call. The return code can be 0, 8, or 79. See Return Codes for DSGI Routines and Functions.

Details

The GASK('PATREP', . . . ) routine returns the pattern name assigned to a style index.