MARREP

Finds the bundle of marker attributes associated with an index
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('MARREP', index, color-index, size, type, return-code-variable);

Required Arguments

index
numeric constant or numeric variable name; indicates the index of the fill bundle to check. Valid values are 1 to 20, inclusive. If index is expressed as a variable, the variable must be initialized to a value between 1 and 20.
color-index
numeric variable name; returns the color index of the fill color associated with the bundle. The color index returned corresponds to a color specification in the following order:
  1. a color index assigned with the GSET('COLREP', . . . ) function
  2. the nth color in the color list of the COLORS= graphics option
  3. the nth color in the device's default color list
size
numeric variable name; returns the marker size in units of the current window system.
type
numeric variable name; the index of the marker type associated with the bundle. See theSymbol Indexes Used with DSGI for an explanation of the marker indexes.
return-code-variable
numeric variable name; returns the return code of the routine call. The return code can be 0, 8, 64, or 65. See Return Codes for DSGI Routines and Functions.

Details

The GASK('MARREP' . . . ) routine returns the color, size, and type of marker associated with a specific marker bundle. If the bundle indicated by index has not been previously defined with the GSET('MARREP', . . . ) function, DSGI issues the following error message:
ERROR: A representation for the specified marker index has
 not been defined on this workstation.