[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPDLER - Delete Element Range

GPDLER (elem1, elem2)

Purpose

Use GPDLER to delete all structure elements between and including the elements indicated by the specified element numbers.

After deletion, the element pointer moves to the element immediately preceding any deleted elements. If both values point beyond the last element of the structure or both values are less than zero, then the graPHIGS API does not delete any elements and the element pointer remains the same. If one of the values is less than zero, then the element pointer defaults to a value of zero. If one of the values is greater than the number of elements in the open structure, then the graPHIGS API uses the element number of the last element in the open structure.

Parameters

elem1 -- specified by user, fullword integer

First element number.

elem2 -- specified by user, fullword integer

Second element number.

Error Codes

4
FUNCTION REQUIRES STATE STOP

Related Subroutines

None

RCP code

201338369 (X'0C002E01')


[ Previous | Next | Contents | Glossary | Home | Search ]