SelectGraphic

Description:              This function selects an active graphics statement at a location in a window.

Returns:                    Code Pointer or Steady State

Usage:                       Script

Format:                      SelectGraphic(Object, X, Y, Dist, N)

Parameters:             Object   { Object value }  { required }  { no default: }

                                      Any expression for the object value that identifies the window.

                                    X    { numeric }  { required }  { no default: }

                                      Any numeric expression for the x-axis coordinate of the selection point.

                                    Y    { numeric }  { required }  { no default: }

                                      Any numeric expression for the y-axis coordinate of the selection point.

                                    Dist    { numeric }  { required }  { no default: }

                                      Any numeric expression for the maximum distance a graphic may be from (X,Y) and still be considered for selection.

                                    N    { numeric }  { required }  { no default: }

                                      Any numeric expression for the object to select. 0 is the first object, 1 is the next, and so on. This allows selection of graphics that are 'underneath' other graphics.