Returns properties from the shape object in the form of a long integer.
Syntax
05 GDL-SHAPE-GET-LONG.
10 GDL-SGL-SHAPE PIC S9(09) BINARY.
10 GDL-SGL-TYPE PIC S9(09) BINARY.
10 GDL-SGL-VALUE PIC S9(09) BINARY.
*
CALL "GDLSGL"
USING GDL-SHAPE-GET-LONG, GDL-RETURN-CODE.
Arguments
GDL-SGL-SHAPE
The GDL/zOS shape. Input.
GDL-SGL-TYPE
The type of shape variable to return. Input.
Constants:
GDL-TYPE | The type of shape |
GDL-PART-COUNT | The number of parts the shape has |
GDL-POINT-COUNT | The total number of points |
GDL-SGL-VALUE
A pointer to the value. Output.
Return Values
GDL-OK | Success |
GDL-ERROR | An internal error occurred |
Prerequisites
None.
Alternates
None.