Chapter Contents

Previous

Next
LINREP

LINREP



Finds the bundle of line attributes associated with an index

Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8, 60, 61


Syntax
Description
Argument Definitions
See Also


Syntax

CALL GASK ('LINREP', index, color-index, width, type, return-code-variable);


Description

The GASK('LINREP', . . . ) routine returns the color, width, and line type associated with a specific line bundle. If the bundle indicated by index has not been previously defined with the GSET('LINREP', . . . ) function, DSGI issues the following error message:

ERROR: A representation for the specified line type index has
   not been defined on this workstation.


Argument Definitions

index numeric constant or numeric variable name; indicates 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 colors list of the COLORS= graphics option

  3. the nth color in the device's default colors list.

width numeric variable name; returns the line width (in pixels) associated with the bundle.
type numeric variable name; returns the index of the line type associated with the bundle. Refer to Line Types for representations of the line types.
return-code-variable numeric variable name; returns the return code of the routine call.

See Also

COLORS= graphics option (see COLORS)
GASK('COLREP', . . . ) routine
GASK('LININDEX', . . . ) routine
GSET('COLREP', . . . ) function
GSET('LINREP', . . . ) function


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.